Solved Qt Creator code model warning from intel intrinsics header
-
Hi
With Qt Creator and clang (both build from git head in the last few days) I'm getting a parse error with the following
typedef long long __int64; typedef union _MMINTRIN_TYPE(8) __m64 { unsigned __int64 m64_u64; // ERROR here
It's an 'expected ; at end of declaration list' error, as though the second '__int64' was a variable name rather than a type name.
Is there any workaround for this?
-
I found a solution to this. Adding
-fms-extensions
to the config made it go away. I can't see this anywhere in our setup. A bit strange, but this is only for the parsing! -
I found a solution to this. Adding
-fms-extensions
to the config made it go away. I can't see this anywhere in our setup. A bit strange, but this is only for the parsing!