Don't explicitly search VC++ include directory for include files by using /I option

Intel compiler searches user specified include directories, then Intel include directories, and finally Microsoft* VC++ include directories.  If you explicitly add /I$(VCInstallDir)\include either in Visual Studio IDE or in command line, Intel compiler will search VC++ include directories first.  As a result, you may see some error messages like this:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmmintrin.h(58): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead

The error above indicates that you were including xmmintrin.h from VC++, rather than the one from Intel compiler, which is located in C:\Program Files (x86)\Intel\Composer XE 2013\compiler\include (the directory varies a little bit depending on the version of Intel compiler you were using).  To solve the problem, simply drop the /I option causing trouble.

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.