[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoheader should protect config.h against multiple inclusion
From: |
Alexandre Oliva |
Subject: |
Re: autoheader should protect config.h against multiple inclusion |
Date: |
18 Jan 2001 11:06:47 -0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
On Jan 18, 2001, "Steven G. Johnson" <address@hidden> wrote:
> It occurred to me today that the config.h.in file output by autoheader
> does not have the standard #ifndef CONFIG_H ... #endif boilerplate to
> protect against multiple inclusions.
Since config.h is supposed to contain only #defines and comments, and,
IIRC, repeated #defines are ok, I don't see a problem here. Since
there is a potential of breaking something by introducing this change,
I'd rather not do it.
If someone abuses config.h for other purposes, they may well take care
of the guards themselves, as Akim suggested.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me