Error C1047: Object file created with an older compiler than other objects

前端 未结 11 863
遇见更好的自我
遇见更好的自我 2020-12-17 08:03

I have a project that I\'m building in C++ in Release mode in Visual Studio 2008 SP1 on Windows 7 and when I build it I keep getting:

fatal error C104

11条回答
  •  醉酒成梦
    2020-12-17 08:52

    Two ways:

    1.Update to Sp1 to build the lib

    2.Please check your build to make sure that Whole Program Optimization is disabled. For a static lib project, go to the property page and change “Configuration Properties->C/C++->Optimization->Whole Program Optimization” to “No”.

提交回复
热议问题