[Gc] Building gc.lib and test under MSVC++ 4.0

D. david.szafranski at wanadoo.fr
Wed Aug 23 09:13:45 PDT 2006


Hi,

I would like to build the gc6.7 tests and gc.lib using
MSVC++ 4.0. I am using the NT_STATIC_MAKEFILE.

I find that when I run the makefile, I get a huge
number of errors in gc_cpp.h and gc_cpp.cpp.

See below for example of errors.

Do I need a more recent version of MSVC++?

Any suggestions?

thanks,
David

...
include\gc_cpp.h(309) : error C2092: array element type cannot be function
include\gc_cpp.h(309) : error C2433: 'delete' : 'inline' not permitted on data declarations
include\gc_cpp.h(309) : error C2239: unexpected token '{' following declaration of 'delete'
include\gc_cpp.h(360) : error C2092: array element type cannot be function
include\gc_cpp.h(360) : error C2433: 'new' : 'inline' not permitted on data declarations
include\gc_cpp.h(360) : error C2371: 'new' : redefinition; different basic types
include\gc_cpp.h(360) : error C2239: unexpected token '{' following declaration of 'new'
gc_cpp.CPP(37) : error C2092: array element type cannot be function
gc_cpp.CPP(37) : error C2371: 'new' : redefinition; different basic types
gc_cpp.CPP(37) : error C2239: unexpected token '{' following declaration of 'new'
gc_cpp.CPP(40) : error C2092: array element type cannot be function
gc_cpp.CPP(40) : error C2371: 'delete' : redefinition; different basic types
gc_cpp.CPP(40) : error C2239: unexpected token '{' following declaration of 'delete'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.



More information about the Gc mailing list