[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of config.h: summary of responses.
From: |
Simon Josefsson |
Subject: |
Re: Use of config.h: summary of responses. |
Date: |
Mon, 13 Sep 2004 14:53:21 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Dale Mellor <address@hidden> writes:
> For the record...
>
> I recieved about half a dozen responses to this and the overriding
> message is: config.h is worse than useless for packages which install
> libraries and public header files, so don't use it
I think this need to be qualified more, by adding: "in the public
header file". Using config.h inside the library source code is
useful.
IMHO, the best would be if we could get rid of config.h and '#if
HAVE_*' pollution, so that all source code is written in plain C99 and
POSIX, and then fix whatever broken systems there are out there by way
of a "behind the back" gnulib approach. It is so nice to be able to
do "cc -o foo *.c" and have things work with a minimum of fuss. This
is also almost required in order to be able to use various source code
security analysis tools, or even things like Cyclone.
Thanks,
Simon
- Re: Use of config.h: summary of responses., (continued)
- Re: Use of config.h: summary of responses., Daniel Reed, 2004/09/13
- Re: Use of config.h: summary of responses., Bob Friesenhahn, 2004/09/13
- Re: Use of config.h: summary of responses., Daniel Reed, 2004/09/13
- Re: Use of config.h: summary of responses., Bob Friesenhahn, 2004/09/13
- Re: Use of config.h: summary of responses., Daniel Reed, 2004/09/13
- Re: Use of config.h: summary of responses., Russ Allbery, 2004/09/13
- Re: Use of config.h: summary of responses., Andre Caldas, 2004/09/13
- Re: Use of config.h: summary of responses., Daniel Reed, 2004/09/14
Re: Use of config.h: summary of responses.,
Simon Josefsson <=
Re: Use of config.h: summary of responses., Braden McDaniel, 2004/09/13
Re: Use of config.h: summary of responses., Russ Allbery, 2004/09/13