From: McSwain on 30 Dec 2005 09:06 I'm getting the following errors: Error 14 error C2365: 'operator new' : redefinition; previous definition was 'function' d:\microsoft visual studio 8\vc\include\xdebug 32 Error 15 error C2491: 'new' : definition of dllimport data not allowed d:\microsoft visual studio 8\vc\include\xdebug 32 Error 16 error C2078: too many initializers d:\microsoft visual studio 8\vc\include\xdebug 32 Error 17 error C2440: 'initializing' : cannot convert from 'int' to 'void *' d:\microsoft visual studio 8\vc\include\xdebug 32 Error 18 error C2143: syntax error : missing ';' before '(' d:\microsoft visual studio 8\vc\include\xdebug 32 When I try to compile a MFC application in VS8.0 that uses STL. I've seen numerous posts on this topic, but none seem to have any solution posted. Any help is greatly appreciated.
From: Ted on 2 Jan 2006 12:02 You've may have to get rid of that DEBUG_NEW stuff near the top of each of your cpp files. Ted. "McSwain" <paul_d_mcswain(a)hotmail.com> wrote in message news:1135951585.526672.205470(a)g14g2000cwa.googlegroups.com... > I'm getting the following errors: > > Error 14 error C2365: 'operator new' : redefinition; previous > definition was 'function' d:\microsoft visual studio > 8\vc\include\xdebug 32 > Error 15 error C2491: 'new' : definition of dllimport data not > allowed d:\microsoft visual studio 8\vc\include\xdebug 32 > Error 16 error C2078: too many initializers d:\microsoft visual studio > 8\vc\include\xdebug 32 > Error 17 error C2440: 'initializing' : cannot convert from 'int' to > 'void *' d:\microsoft visual studio 8\vc\include\xdebug 32 > Error 18 error C2143: syntax error : missing ';' before > '(' d:\microsoft visual studio 8\vc\include\xdebug 32 > > When I try to compile a MFC application in VS8.0 that uses STL. I've > seen numerous posts on this topic, but none seem to have any solution > posted. > > Any help is greatly appreciated. >
|
Pages: 1 Prev: error LINK2019: unresolved external symbol Next: Error: no data exchange control with ID |