I am using the Intel C++ compiler within Visual Studio (Community 2017). After a recent update (Parallel Studio XE 2018 Update 2 for Windows) when I try to build my C++ code I get 100 errors. The errors are all from xtgmath.h.
Here is an example of a group of errors relating to a single line,
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : mismatched delimiters in default argument expression
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : expected a "," or ">"
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : argument list for alias template "std::enable_if_t" is missing
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : expected an expression
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : expected a "]"
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtgmath.h(74): error : expected a declaration
1> _GENERIC_MATH1(acos, _CRTDEFAULT)
1> ^
These error do not appear when I build my code from the command-line. And they do not appear on a different machine where the update is not installed.