This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch installed for autoconf cleanup (part 1)


Kaveh,

* Kaveh R. Ghazi (ghazi@caip.rutgers.edu) [20000424 19:54]:
> 	A while back I submitted a patch to cleanup some autoconf
> issues, got approval, but never installed it.  (Sorry, my bad.)

while we're on the subject of configury, I have two issues at hand, which
would both be solved by the same action.

1) configure checks if a declaration for environ (and possibly others) is
needed but doesn't check if defining _GNU_SOURCE would yield one.

2) When using the *_unlocked variants from glibc2, you get warnings about
missing prototypes.

Both could be solved by defining _GNU_SOURCE, either conditionally or
unconditionally. Are there any reasons *not* to define it unconditionally? I
don't see any, but there may well be some. If there are reasons to not do it
unconditionally, I'll try to come up with patches which defines it when
appropriate.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]