VS2012 C++ warning C4005: '__useHeader': macro redefinition

前端 未结 11 1882
一生所求
一生所求 2020-12-15 16:55

While migrating an old C++ project from Visual Studio 6 up to Visual Studio 2012, we came across an odd set of warnings from inside the standard Microsoft platform headers:<

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 17:32

    It is still simpler.

    Just check the checkbox "Inherit from parent or project defaults" in Configuration PropertiesC/C++Preprocessor / Preprocessor DefinitionsEdit.

提交回复
热议问题