|
Message-ID: <5037DE46.90304@barfooze.de> Date: Fri, 24 Aug 2012 22:04:22 +0200 From: John Spencer <maillist-musl@...fooze.de> To: musl@...ts.openwall.com Subject: Re: Header testing [Re: Re: dirent.h and __NEED_size_t] On 08/24/2012 08:23 PM, Rich Felker wrote: > > It would be nice to have a header test suite for this kind of issue. > Basically, it would attempt compiling an otherwise-empty source file > for each system header, with each combination of feature test macros, > to check for errors in any of the cases. We could add -std=c89 to the > mix too if we want to check for c89-compatibility errors at the same > time... > > Rich > results: http://sprunge.us/JURU script: http://sprunge.us/HIFE apart from "inline" there seem to be only 2 problems (at least from a quick glance): bits/alltypes.h: #if defined(__NEED_struct_timespec) && !defined(__DEFINED_struct_timespec) struct timespec { time_t tv_sec; long tv_nsec; }; // time_t can be undefined #define __DEFINED_struct_timespec #endif arpa/nameser.h should include support for uint16_t .. and: <nsz> the stdio_ext.h bug is that stdio.h is not included
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.