From 52cf7d345d34e59973a8cc04773bdc1f9ba39421 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 24 Aug 1999 20:40:44 +0000 Subject: Update. * misc/libgen.h: Don't take basename macro as taking arguments. * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants for gcc >= 2.95. * sysdeps/i386/bits/huge_val.h: Likewise. * sysdeps/i386/bits/huge_val.h: Likewise. * sysdeps/ieee754/bits/huge_val.h: Likewise. * sysdeps/m68k/bits/huge_val.h: Likewise. * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise. --- conform/conformtest.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'conform/conformtest.pl') diff --git a/conform/conformtest.pl b/conform/conformtest.pl index fc6eb761cf..1d83d0dcc8 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -1,10 +1,12 @@ #! /usr/bin/perl $CC = "gcc"; -$CFLAGS = "-I. -D_XOPEN_SOURCE=500"; +$CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=500"; # List of the headers we are testing. -@headers = ("fmtmsg.h", "float.h", "fcntl.h", "errno.h", "dlfcn.h", "dirent.h", +@headers = ("math.h", "locale.h", "libgen.h", "langinfo.h", "iso646.h", + "inttypes.h", "iconv.h", "grp.h", "glob.h", "ftw.h", "fnmatch.h", + "fmtmsg.h", "float.h", "fcntl.h", "errno.h", "dlfcn.h", "dirent.h", "ctype.h", "cpio.h", "assert.h", "aio.h"); # These are the ISO C9x keywords. @@ -341,7 +343,7 @@ while ($#headers >= 0) { # Generate a program to test for availability of this function. open (TESTFILE, ">$fnamebase.c"); print TESTFILE "#include <$h>\n"; - print TESTFILE "#undef $fname\n"; + # print TESTFILE "#undef $fname\n"; print TESTFILE "$rettype (*foobarbaz) $args = $fname;\n"; close (TESTFILE); @@ -351,7 +353,7 @@ while ($#headers >= 0) { # Generate a program to test for the type of this function. open (TESTFILE, ">$fnamebase.c"); print TESTFILE "#include <$h>\n"; - print TESTFILE "#undef $fname\n"; + # print TESTFILE "#undef $fname\n"; print TESTFILE "extern $rettype (*foobarbaz) $args;\n"; print TESTFILE "extern __typeof__ (&$fname) foobarbaz;\n"; close (TESTFILE); -- cgit v1.2.3