cpplib: Fix __cplusplus definition

Benjamin Kosnik bkoz@redhat.com
Fri Jan 26 17:02:00 GMT 2001


Hey Gerald. I don't have access to a solaris 2.8 box. Can you try changing:

> -I/sw/test/gcc/cvs/libstdc++-v3/include/c_std -I../include

to

-I/sw/test/gcc/cvs/libstdc++-v3/include/c -I../include

and seeing if you can get pure.cc to compile? If not can you preprocess 
the pure.cc file and post it?

> /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

-benjamin


More information about the Gcc-patches mailing list