Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7939 Discussions

Visual Studio 2015 Update 1 Intel Compiler XE 15 attributes

paul_o_1
Beginner
583 Views

The posted answer https://software.intel.com/en-us/forums/intel-c-compiler/topic/601433 fixed one of the issues I saw after Visual Studio 2015 Update 1.  However, I still get the following errors.  I have only added a representative error but they all have the same condition the [[noreturn]] is triggering the failure. Is there any work around available?

>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(294): error : expected an attribute name
1>        [[noreturn]] void _RethrowException() const

The same error message also get emitted from xstring and vector

1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2250): error : expected an attribute name
1>        [[noreturn]] void _Xran() const

 

1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1782): error : expected an attribute name
1>        [[noreturn]] void _Xlen() const

0 Kudos
7 Replies
paul_o_1
Beginner
583 Views

The attribute which is flagged is the noreturn attribute in [[ brackets.  The web page is removing that when it is rendered.

0 Kudos
Vladimir_P_1234567890
583 Views

hello,

does Intel Compiler 15.0 support Visual Studio 2015? I guess you need Intel Compiler 16.0 for this.

--Vladimir

0 Kudos
Kittur_G_Intel
Employee
583 Views

Hi Polin,
Yes, VS 2015 is supported starting with 16.0 Initial release. Presently 16.0 Update 1 is out that can be downloaded from the Intel Registration Center.
_Kittur

0 Kudos
TimP
Honored Contributor III
583 Views

Icl 15.0.4 and later also supported vs2015.  Vs2015 has changed somewhat since the current intel compilers were released.

0 Kudos
TimP
Honored Contributor III
583 Views

.

0 Kudos
Melanie_B_Intel
Employee
583 Views

Our 15.0 compiler does not recognize [[ noreturn in default mode.  VS2015 update 1 added noreturn to several include header files. We're testing a workaround in-house and will post it later.

Our 16.0 compiler does accept noreturn in default mode, if possible please update to the 16.0 compiler, it has much better compatibility with vs2015.

0 Kudos
Kittur_G_Intel
Employee
583 Views

Thanks Melanie, yes it makes sense to install the latest 16.0 update 1 release.  -Kittur

0 Kudos
Reply