Linker error LNK2038: mismatch detected in Release mode

前端 未结 4 700
生来不讨喜
生来不讨喜 2021-02-02 07:11

I am trying to port a small app of mine from Win XP and VS 2005 to Win 7 and VS 2010.

The app compiles and runs smoothly in Debug mode, however in Release mode I get the

4条回答
  •  礼貌的吻别
    2021-02-02 07:34

    This can also be caused by setting the preprocessor definition _HAS_ITERATOR_DEBUGGING=0 in project B and not in A where A produces a lib used by B.

提交回复
热议问题