[Linphone-developers] coreapi\sal.h has file name problem under VC9.0
From:
hongleij
Subject:
[Linphone-developers] coreapi\sal.h has file name problem under VC9.0
Date:
Mon, 26 Apr 2010 17:42:02 +0800 (CST)
since VC 9.0 have a file named sal.h in f:\Program Files\Microsoft Visual Studio 9.0\VC\include\sal.h when i try to compile console ,it will cause many errors.: e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2054: expected '(' to follow '_Check_return_' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2146: syntax error : missing ')' before identifier 'FILE' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2085: '_filbuf' : not in formal parameter list e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2146: syntax error : missing ',' before identifier 'FILE' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2143: syntax error : missing ';' before '*' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2059: syntax error : ')' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2143: syntax error : missing ')' before 'type' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2085: '_Ch' : not in formal parameter list e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2085: '_Inout_' : not in formal parameter list e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2146: syntax error : missing ',' before identifier 'FILE' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2143: syntax error : missing ';' before '*' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2059: syntax error : ')' ... ... .. About 100 more syntax errors which i thought would not be very helpfull .... .. . ... ... e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(241) : error C2059: syntax error : ')' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : error C2146: syntax error : missing ')' before identifier 'FILE' e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : error C2085: '_File' : not in formal parameter list e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : fatal error C1003: error count exceeds 100; stopping compilation