Community
cancel
Showing results for 
Search instead for 
Did you mean: 
graff__havard
Beginner
156 Views

ICC 18 not compiling C++ code after upgrading Visual Studio

We updated Visual Studio to 15.8.1, and our C++ code stopped compiling with the Intel Compiler.

The error(s) we are getting looks like this:

[1/884] Compiling C++ object vpxdec-avx2@exe/third_party_libwebm_common_hdr_util.cc.obj.
FAILED: vpxdec-avx2@exe/third_party_libwebm_common_hdr_util.cc.obj
icl @vpxdec-avx2@exe/third_party_libwebm_common_hdr_util.cc.obj.rsp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(1562): error: expected a ">"
_INLINE_VAR constexpr bool _Is_specialization_v<_Template<_Types...>, _Template> = true;
^
detected during:
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.15.26726\include\xstring"
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.15.26726\include\stdexcept"
 
compilation aborted for ../../../../../external/libvpx/third_party/libwebm/common/hdr_util.cc (code 2)
perl .\util\copy-if-different.pl ".\crypto\cast\cast_s.h" "tmp32dll\cast_s.h"
[2/884] Compiling C++ object vpxdec-avx2@exe/third_party_libwebm_mkvmuxer_mkvmuxerutil.cc.obj.
FAILED: vpxdec-avx2@exe/third_party_libwebm_mkvmuxer_mkvmuxerutil.cc.obj
icl @vpxdec-avx2@exe/third_party_libwebm_mkvmuxer_mkvmuxerutil.cc.obj.rsp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(1562): error: expected a ">"
_INLINE_VAR constexpr bool _Is_specialization_v<_Template<_Types...>, _Template> = true;
^
detected during:
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.15.26726\include\xstring"
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.15.26726\include\stdexcept"
 
compilation aborted for ../../../../../external/libvpx/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc (code 2)

 

Any tips on how to solve this?

 

 

 

0 Kudos
2 Replies
graff__havard
Beginner
156 Views

Turns out updating to Update 3 fixes the problem!

graff__havard
Beginner
156 Views

 

 

Reply