Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
37 Views

Intel Compiler 19 and C++17 on Windows

I can't get even a basic project to compile with the Intel compiler in Visual Studio 2017 15.8.5 when C++17 language support is enabled. Creating a Windows Console Application with no changes except enabling C++17 language support will compile with MSVC 141 and Intel 18 but not Intel 19. The minimal reproducible example is:

#include <iostream>

int main()
{
}

It will also fail if iostream is changed to vector or memory or almost anything else. The failure appears to begin in type_traits. It also fails from the command line with just "icl.exe /std:c++17 test.cpp".

0 Kudos
3 Replies
Highlighted
Moderator
37 Views

 

The VS2017 v15.8.5 is not supported by ICL19.0. Please refer to https://software.intel.com/en-us/articles/intel-compilers-integration-support-for-microsoft-visual-studio-2017 for VS2017 versions which support by Intel compilers.

 

Thanks,

Viet

0 Kudos
Highlighted
Beginner
37 Views

Viet Hoang (Intel) wrote:

The VS2017 v15.8.5 is not supported by ICL19.0. Please refer to https://software.intel.com/en-us/articles/intel-compilers-integration-su... for VS2017 versions which support by Intel compilers.

 

Thanks,

Viet

Thanks for telling us this, but why is it not front-and-centre in the release notes?

I have just wasted many hours trying to get C++17 features working with VS v15.8.

 

0 Kudos
Highlighted
Beginner
37 Views

By the way, when can we expect full C++17 support?

0 Kudos