Visual Studio 2015 Update 1, clang error

后端 未结 2 1100
半阙折子戏
半阙折子戏 2021-01-13 05:35

when trying to use new clang with Visual Codegen in my project (Visual Studio 2015 Update 1), I\'m getting following error:

clang.exe : error : cannot specif         


        
2条回答
  •  时光说笑
    2021-01-13 06:19

    Just as an addition to the accepted answer, if you are still experiencing this issue even after setting Precompiled Header = "Not using...". The other issue might be an incorrect value in the Object File Name field.

    That field can be found under: Project > Properties > C/C++ > General > Object File Name = $(IntDir)%(filename).obj

    Note: originally discover this solution here: http://www.progtown.com/topic2009949-clang

提交回复
热议问题