------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-28 
15:13 -------
> Hmm, the test is correct.

Here's what I get on Solaris:

gax% gcc/xgcc -Bgcc -S -isysroot /home/eric/cvs/gcc/gcc/testsuite/gcc.dg/cpp
isysroot-1.c
In file included from gcc/include/iso/stdio_iso.h:44,
                 from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/sys/feature_tests.h:24:26: error: sys/isa_defs.h: No such file or
directory
In file included from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/iso/stdio_iso.h:45:25: error: sys/va_list.h: No such file or 
directory
gcc/include/iso/stdio_iso.h:47:24: error: stdio_impl.h: No such file or 
directory
In file included from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/iso/stdio_iso.h:195: error: parse error before '__va_list'
gcc/include/iso/stdio_iso.h:196: error: parse error before '__va_list'
gcc/include/iso/stdio_iso.h:197: error: parse error before '__va_list'
isysroot-1.c: In function 'main':
isysroot-1.c:8: error: 'foo' undeclared (first use in this function)
isysroot-1.c:8: error: (Each undeclared identifier is reported only once
isysroot-1.c:8: error: for each function it appears in.)

Note that stdio.h is fixincluded on that platform.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18702

Reply via email to