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
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