This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: Problem with ctype.h


> 
> > 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

It should be fixed.

> 
> > They should be ok in <pthread.h>. Shouldn't we just include
> > <bits/pthreadtypes.h> when the types defined in it are needed?
> 
> Yes, I think so.  I don't see why any of those types are needed except by
> <pthread.h>.
> 

FYI, right now I have about 40 failures in VSX-PCT. It looks good.

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


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