[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ltdl.c ifdefs
From: |
Alexandre Oliva |
Subject: |
Re: ltdl.c ifdefs |
Date: |
09 Apr 2004 06:15:05 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Apr 7, 2004, "Gary V. Vaughan" <address@hidden> wrote:
> Agreed. Autoconf generates a config.h that encourages #ifdef/#ifndef.
And then it promotes the use of #if. I recall discussions about this
in the autoconf list years ago, and there was a conscious decision to
replace most uses of #ifdef with #if in the documentation, but I can't
find any wording that explicitly recommends the use of #if over
#ifdef. Oh well...
> We should just use that style throughout.
And perhaps suggest that autoconf adds a note about this and reverts
to ifdef to avoid such warnings.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer address@hidden, gcc.gnu.org}
Free Software Evangelist address@hidden, gnu.org}