Problem with ctype.h

H.J. Lu hjl@lucon.org
Mon Oct 26 14:52:00 GMT 1998


> 
> > > 
> > > > The question is if 1003.1-1996 allows everything in 
> > > > <bits/pthreadtypes.h> to be included in <ctype.h>. 
> > > 
> > > I think it does, but only because its allowance is so broad.
> > > ANSI/ISO C definitely does not allow it.
> > 
> > If that is the case, VSX-PCT is right to fail glibc on
> > 
> > # gcc -ansi -D_POSIX_SOURCE
> 
> Incorrect.  It should not be using -D_POSIX_SOURCE to test ANSI/ISO C
> conformance, only to test POSIX conformance.  It should use gcc -ansi -pedantic
> test to test ANSI/ISO C conformance.
> 
> 

I added -ansi to get rid of "unix". Or should I just ignore the
failure on "unix"?


-- 
H.J. Lu (hjl@gnu.org)



More information about the Libc-hacker mailing list