Building Qt 4.8.5 with VS2012
-
Hi, I'm trying to build new Qt 4.8.5 from sources using VS2012 and got following strange errors:
tools\qsimd.cpp(205) : error C2400: inline assembler syntax error in 'opcode'; found 'XOR'
tools\qsimd.cpp(211) : error C2400: inline assembler syntax error in 'opcode'; found 'XOR'
tools\qsimd.cpp(233) : error C2400: inline assembler syntax error in 'opcode'; found 'XOR'
tools\qsimd.cpp(239) : error C2400: inline assembler syntax error in 'opcode'; found 'XOR'I searched the web but didn't find any reasonable solution for this. Looks like VS doesn't like xor for some reason. Can someone help me? I was trying to build using nmake and then IDE - same errors.
-
welcome to devnet
Thanks for sharing the issue seen.
You should file "a bug report on JIRA":https://bugreports.qt-project.org/secure/Dashboard.jspa to make sure that someone is paying attention. This forum here is not scanned for bug reports. -
I get this error also when building with VC 2010. Changing "xor" in the inline assembly in qsimd.cpp to "XOR" fixes the error (the assembler isn't case-sensitive).
Maybe it depends on the order of include directories in your INCLUDE environment variable, or some other state that is not part of the build.