This is the mail archive of the
mailing list for the GCC project.
Re: preprocessor/7988: POSIX broken in gcc
- From: cs720 Administrator <cs720 at cisunix dot unh dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 20 Sep 2002 19:06:01 -0000
- Subject: Re: preprocessor/7988: POSIX broken in gcc
- Reply-to: cs720 Administrator <cs720 at cisunix dot unh dot edu>
The following reply was made to PR target/7988; it has been noted by GNATS.
From: cs720 Administrator <firstname.lastname@example.org>
To: Neil Booth <email@example.com>
Cc: firstname.lastname@example.org, <email@example.com>, <firstname.lastname@example.org>, <email@example.com>
Subject: Re: preprocessor/7988: POSIX broken in gcc
Date: Fri, 20 Sep 2002 15:00:20 -0400 (EDT)
I wasn't sure how to categorize it --
_POSIX_C_SOURCE is a preprocessor symbol and it
is used to select header files, define other symbols
and structures, etc. Defining it selects one set
of headers, etc. while not defining it selects
another set. Perhaps the error is in the
organization of the header files themselves,
and the use of _POSIX_C_SOURCE within those header files.
I doubt it is in the preprocessor itself, but
what other category would be better?
On Fri, 20 Sep 2002, Neil Booth wrote:
> firstname.lastname@example.org wrote:-
> > >Number: 7988
> > >Category: preprocessor
> > >Synopsis: Programs defining _POSIX_C_SOURCE compile but won't run
> So this has nothing to do with the preprocessor then?