In my project, I trying reload global operator new and delete ([] too). And when I try to compile in first time, I get link error:
Main.obj : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
When I try to compile in second time, errors magically disappear! But sometimes return.
How to resolve this problem?
Run-time Library: MTd.
No comments:
Post a Comment