Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Intel Compiler uses wrong header files

$
0
0

Hi,

my Visual Studio is causing problems and I can't figure out what's going on. I am using Visual Studio 2017 and installed ICC18 and ICC19 including the IDE integration.

My project gets compiled with Intel Compiler 18.0.5.274 and Platform Toolset v141 but any translation unit fails to compile. To me it looks like ICC somehow picks up the MSVC header files. Does anyone know what could cause that?

 

Thanks!

 

1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error : expected a ">"
1>  	_INLINE_VAR constexpr bool _Is_specialization_v<_Template<_Types...>, _Template> = true;
1>  	                                                                ^
1>          detected during:
1>            instantiation of "const bool std::_Is_specialization_v [with _Type=std::char_traits<char>, _Template=std::char_traits]" at line 2108 of "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\xstring"
1>            instantiation of class "std::basic_string<_Elem, _Traits, _Alloc> [with _Elem=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 24 of "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\stdexcept"
1>
1>compilation aborted for ..\generated\hxx\register.cpp (code 2)

 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>