<div>I just removed a couple of lines from CMakeLists that mentioned /Za and projects are now generated without this flag. I did a rebuild using Visual Studio 2010 and everything went fine except for CFG.cpp which says:</div>
<div><br></div><div>clang\lib\Analysis\CFG.cpp(3203): error C2059: syntax error : '='</div><div>clang\lib\Analysis\CFG.cpp(3203): error C2143: syntax error : missing ';' before '{'</div><div>clang\lib\Analysis\CFG.cpp(3204): error C2059: syntax error : '__cdecl'</div>
<div><br></div><div>Renaming cdecl variable to decl fixed this, funny.</div><div><br></div><div>P.S. I know very little about CMake, somebody who knows this stuff should review the patch</div>