[Gc] Irix and C++

Simon Gornall simon at gornall.net
Thu Jan 15 14:49:27 PST 2004


Since my previous post seems lost in pre-moderation, I'll try from the 
right email address :-)

Is there a way to get Irix CC  (the C++ compiler) to compile 'gc' ? If I 
do a 'make' on version 6.2, I get:

CC -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" 
-DPACKAGE_VERSION=\"6.2\" "-DPACKAGE_STRING=\"gc 6.2\"" 
-DPACKAGE_BUGREPORT=\"Hans.Boehm at hp.com\" -DGC_VERSION_MAJOR=6 
-DGC_VERSION_MINOR=2 -DPACKAGE=\"gc\" -DVERSION=\"6.2\" 
-DNO_EXECUTE_PERMISSION=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 
-DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. 
-I. -I./include -g -c gc_cpp.cc -Wp,-MDupdate,.deps/gc_cpp.TPlo  -DPIC 
-o .libs/gc_cpp.lo
cc-3333 CC: WARNING File = ./include/gc_cpp.h, Line = 169
  Support for placement delete is disabled.
 
        inline void operator delete( void*, void* );
                    ^
 
cc-1401 CC: WARNING File = ./include/gc_cpp.h, Line = 178
  A qualified name is not allowed in a member declaration.
 
        inline void gc::operator delete[]( void*, void* );
                    ^
 
cc-3333 CC: WARNING File = ./include/gc_cpp.h, Line = 178
  Support for placement delete is disabled.
 
        inline void gc::operator delete[]( void*, void* );
                        ^
 
... at the end of the compile. Now I know that's only a warning, but the 
"not supported" bit is a bit worrying...

I want to use CC rather than g++ because the 3rd=party libs I have to 
link with are proprietary and don't work with g++ (name-mangling, I 
expect) but with the above warnings, it might be back to the bad ole' 
days of manual delete [] :-(

the C++ compilers are at version 7.41 on the SGI, if that's any help...

Cheers,
    Simon




More information about the Gc mailing list