Message-ID: <3A28F945.93C0CFCE@softhome.net> Date: Sat, 02 Dec 2000 14:29:41 +0100 From: Laurynas Biveinis X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: DJGPP Workers Subject: Patch: testsuite for header file intercompatibility Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Those tests just include all standard header files to see if there are any warnings/errors about redefinitions, conflicts, etc. There are two similar tests - testinc1.c and testinc2.c. The difference - one includes and , the other one includes . Currently they report redefinition warnings between and , I'll see later if this is a problem. Or is it expected behaviour? OK to commit? Laurynas Index: djgpp/tests/include/makefile =================================================================== RCS file: makefile diff -N makefile --- /dev/null Tue May 5 16:32:27 1998 +++ makefile Sat Dec 2 07:29:03 2000 @@ -0,0 +1,10 @@ +all : testinc1.exe testinc2.exe + +testinc1.exe : testinc1.o + gcc $< -o $@ + +testinc2.exe : testinc2.o + gcc $< -o $@ + +testinc1.o : testinc1.c +testinc2.o : testinc2.c Index: djgpp/tests/include/testinc1.c =================================================================== RCS file: testinc1.c diff -N testinc1.c --- /dev/null Tue May 5 16:32:27 1998 +++ testinc1.c Sat Dec 2 07:29:03 2000 @@ -0,0 +1,123 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int main(void) +{ + return 0; +} Index: djgpp/tests/include/testinc2.c =================================================================== RCS file: testinc2.c diff -N testinc2.c --- /dev/null Tue May 5 16:32:27 1998 +++ testinc2.c Sat Dec 2 07:29:03 2000 @@ -0,0 +1,122 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int main(void) +{ + return 0; +}