Moving from VS2008 to VS2010, now 'intrin.h' fails to compile
-
The project compiles correctly in VS2008, but not with 2010. The error is 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ')' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ';' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2059: syntax error : ')' pointing to
__MACHINEI(void __cpuid(int a[4], int b))
__MACHINEI(void __cpuidex(int a[4], int b, int c)) <== this is the line that's giving me compile error
__MACHINEI(unsigned __int64 __readpmc(unsigned long a))Any ideas?
-
The project compiles correctly in VS2008, but not with 2010. The error is 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ')' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ';' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2059: syntax error : ')' pointing to
__MACHINEI(void __cpuid(int a[4], int b))
__MACHINEI(void __cpuidex(int a[4], int b, int c)) <== this is the line that's giving me compile error
__MACHINEI(unsigned __int64 __readpmc(unsigned long a))Any ideas?
Simply including
intrin.h
goes no error in VS2010. Just tried that in an MFC SDI application.«_Superman_»
I love work. It gives me something to do between weekends. -
Simply including
intrin.h
goes no error in VS2010. Just tried that in an MFC SDI application.«_Superman_»
I love work. It gives me something to do between weekends. -
The project compiles correctly in VS2008, but not with 2010. The error is 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ')' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ';' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2059: syntax error : ')' pointing to
__MACHINEI(void __cpuid(int a[4], int b))
__MACHINEI(void __cpuidex(int a[4], int b, int c)) <== this is the line that's giving me compile error
__MACHINEI(unsigned __int64 __readpmc(unsigned long a))Any ideas?