_iterator_debug_level value '0' doesn't match value '2'

后端 未结 5 1742
暗喜
暗喜 2020-12-05 22:46

I\'ve just moved over a Visual Studio (C++) solution over to another computer, setup all the directories and settings as far as I can see, and did a clean/rebuild on the sol

5条回答
  •  遥遥无期
    2020-12-05 23:07

    Mixing binaries (object files) is one reason; another (which I encountered) is the false definition of the _DEBUG macro in the release build. _DEBUG is not a standard macro, but used by Microsoft.

    After editing the .vcxproj-file in Emacs I mistyped _DEBUG instead of NDEBUG for the release, and encountered precisely the same build error.

提交回复
热议问题