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: Clean up <sys/types.h>


> On Mon, 26 Oct 1998 17:44:27 -0800 (PST), H.J. Lu wrote:
> >> 
> >> hjl@lucon.org (H.J. Lu) writes:
> >> 
> >> > It should be cleaned up.  For each header file, which include
> >> > <sys/types.h>, it should do something like
> >> 
> >> This really should not be necessary.  What are the actual problems?
> >> 
> >
> >VSX-PCT complains the lines with "^^^^^^^^".
> [...]
> 
> What's it doing complaining about the internal structure of
> user-opaque types?

I suspect it is complaining because there are symbols without __ or _[A-Z]
prefix.  This is a valid test for ANSI/ISO C compliance (for the ANSI/ISO
C-specified headers and things they include in -ansi mode), but it has no
business complaining about it for POSIX.1 compliance.  1003.1-1996 requires
the application to #include all POSIX.1 header files before any application
code or #define's except for feature-test macro #define's; so unless those
structure names are used in macros that might be expanded in application
code, there is no way a conforming application can be affected by their
presence.



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