In <19538.940215318@localhost>, Jordan K. Hubbard wrote: > I've got a box running yesterday's -current and it can't compile [...] > #if defined(_P1003_1B_VISIBLE) || defined(KERNEL) > .. > #endif I use the appended C file and compilation shell script to test include file changes. I recommend it to everyone working on headers. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <[EMAIL PROTECTED]> http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536
#! /bin/sh set -e set -x cc -D_ANSI_SOURCE -Wall -Werror -o/dev/null test1.c cc -D_POSIX_SOURCE -Wall -Werror -o/dev/null test1.c cc -Wall -Werror -o/dev/null test1.c
#include <signal.h> int main(void) { return 0; }