This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- To: Zack Weinberg <zack@rabi.columbia.edu>
- Subject: Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: 03 Nov 1998 16:14:22 +0100
- Cc: libc-hacker@cygnus.com
- References: <199811031404.JAA00966@blastula.phys.columbia.edu>
Zack Weinberg <zack@rabi.columbia.edu> writes:
|> On Tue, 03 Nov 1998 08:08:07 -0500, Zack Weinberg wrote:
|> >
|> >As an experiment I wrote a simple test which just includes every
|> >single public header we provide with _GNU_SOURCE defined.
|>
|> Followup: Doing the same thing with _POSIX_SOURCE instead produces
|> some spurious errors. They come from the internal prototypes in the
|> wrapper headers.
The library source largely depends on being compiled with _GNU_SOURCE.
You can only get correct results by testing against installed headers.
Andreas.