Intel C ++ 16.0 Compiler Broken

When I try to compile a simple program:

#include <iostream>

int main()
{
    std::cout << "Hello World!" << std::endl;
    std::cin.ignore();
    return 0;
}

Using Intel C ++ Compiler 16.0, it fails with the following errors:

Severity    Description                                 Project File                                                                        Line
Error       identifier "__is_assignable" is undefined   TestCPP C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits  550 
Error       type name is not allowed                    TestCPP C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits  550 

Notes:

  • I am using Microsoft Visual Studio Enterprise 2015 version 14.0.25123.00
  • I am compiling x64 win32 console application
  • I am using Intel Parallel Studio XE 2016 Update 2
  • I am running Windows 10.10586.218 (x64)
  • I am using an Intel Westmere processor
  • The sample code compiles and works fine using the Microsoft Visual C ++ compiler

EDIT This is known by Intell according to https://software.intel.com/en-us/forums/intel-c-compiler/topic/623368 , but I still actually would like a (safe) solution that does not require me return to the previous visual version of the studio.

+4

All Articles