cpplib: Fix __cplusplus definition

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Fri Jan 26 16:54:00 GMT 2001


I now tested this patch on sparc-sun-solaris2.8 (The bootstrapping
compiler has been built on sparc-sun-solaris2.6, but that hasn't been
causing any problems for a year), and also I get a bootstrap failure:

/files/pfeifer/OBJ-0127-0049/gcc/g++ -B/files/pfeifer/OBJ-0127-0049/gcc/
-nostdinc++
-L/files/pfeifer/OBJ-0127-0049/sparc-sun-solaris2.8/libstdc++-v3/src
-L/files/pfeifer/OBJ-0127-0049/sparc-sun-solaris2.8/libstdc++-v3/src/.libs
-B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/
-B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem
/sw/test/gcc/SunOS/sparc-sun-solaris2.8/include
-I/sw/test/gcc/cvs/libstdc++-v3/../gcc
-I/sw/test/gcc/cvs/libstdc++-v3/../include
-I/sw/test/gcc/cvs/libstdc++-v3/include
-I/sw/test/gcc/cvs/libstdc++-v3/include/std
-I/sw/test/gcc/cvs/libstdc++-v3/include/c_std -I../include
-I/sw/test/gcc/cvs/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c
/sw/test/gcc/cvs/libstdc++-v3/libsupc++/pure.cc -fPIC -DPIC -o pure.o
In file included from /usr/include/sys/time.h:408,
                 from /usr/include/sys/select.h:17,
                 from /files/pfeifer/OBJ-0127-0049/gcc/include/sys/types.h:569,
                 from /usr/include/unistd.h:20,
                 from /sw/test/gcc/cvs/libstdc++-v3/libsupc++/pure.cc:33:
/usr/include/time.h:27: using directive `size_t' introduced ambiguous type `size_t'
/usr/include/time.h:28: using directive `clock_t' introduced ambiguous type `clock_t'
/usr/include/time.h:29: using directive `time_t' introduced ambiguous type `time_t'
gmake[3]: *** [pure.lo] Error 1
gmake[3]: Leaving directory
`/files/pfeifer/OBJ-0127-0049/sparc-sun-solaris2.8/libstdc++-v3/libsupc++'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/files/pfeifer/OBJ-0127-0049/sparc-sun-solaris2.8/libstdc++-v3'

Sorry,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



More information about the Gcc-patches mailing list