Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Jerry_H_
Beginner
125 Views

VS 2015 Update 1 include errors with Intel 2016

We are seeing errors caused by new VS2015 Update 1 include files when we use Intel Compiler 2016 (with or without Update 1).  

include\exception
include\xutility
include\xstring
include\vector

VS 2015 (no Update 1) works fine with Intel 2016, but Intel compiler 2016 is having trouble with VS2015 Update 1's includes.  We ran into the limits include issue that you already created a workaround for, do you have a workaround for this?

Here are the errors: 

     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(248): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrRethrow(_In_ const void*);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(294): error : expected an attribute name
               [[noreturn]] void _RethrowException() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(363): error : expected an attribute name
           [[noreturn]] inline void rethrow_exception(_In_ exception_ptr _Ptr)
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(404): error : expected an attribute name
               [[noreturn]] void rethrow_nested() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(434): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, true_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(443): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, false_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(451): error : expected an attribute name
               [[noreturn]] inline void throw_with_nested(_Ty&& _Arg)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3710): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xbad_alloc();
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3711): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xinvalid_argument(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3712): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xlength_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3713): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xout_of_range(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3714): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xoverflow_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3715): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2245): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2250): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1782): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1787): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(3033): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(3038): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(248): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrRethrow(_In_ const void*);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(294): error : expected an attribute name
               [[noreturn]] void _RethrowException() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(363): error : expected an attribute name
           [[noreturn]] inline void rethrow_exception(_In_ exception_ptr _Ptr)
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(404): error : expected an attribute name
               [[noreturn]] void rethrow_nested() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(434): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, true_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(443): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, false_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(451): error : expected an attribute name
               [[noreturn]] inline void throw_with_nested(_Ty&& _Arg)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3710): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xbad_alloc();
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3711): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xinvalid_argument(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3712): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xlength_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3713): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xout_of_range(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3714): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xoverflow_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3715): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2245): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2250): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1782): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1787): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(3033): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(3038): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(248): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrRethrow(_In_ const void*);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(294): error : expected an attribute name
               [[noreturn]] void _RethrowException() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(363): error : expected an attribute name
           [[noreturn]] inline void rethrow_exception(_In_ exception_ptr _Ptr)
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(404): error : expected an attribute name
               [[noreturn]] void rethrow_nested() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(434): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, true_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(443): error : expected an attribute name
               [[noreturn]] inline void _Throw_with_nested(_Ty&& _Arg, false_type)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(451): error : expected an attribute name
               [[noreturn]] inline void throw_with_nested(_Ty&& _Arg)
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3710): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xbad_alloc();
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3711): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xinvalid_argument(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3712): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xlength_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3713): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xout_of_range(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3714): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xoverflow_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(3715): error : expected an attribute name
           [[noreturn]] _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *);
            ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2245): error : expected an attribute name
               [[noreturn]] void _Xlen() const
                ^
     3>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2250): error : expected an attribute name
               [[noreturn]] void _Xran() const
                ^

0 Kudos
6 Replies
TimP
Black Belt
125 Views

Did you install the new vs2015 without first removing the old one and its folders?  Microsoft updated the include folders and moved them.

Jerry_H_
Beginner
125 Views

Are you sure about that?  I am comparing a system with VS2015 and VS2015 Update 1 (that was installed over the top of VS2015 without uninstalling) and the include directories are the same.  The include files I mention above are different and the VS2015 Update 1 versions have the changes that break the Intel builds.   This is similiar to the limits include file issue they just announced a workaround for you yesterday.

JenniferJ
Moderator
125 Views

can you send your include file list? I'm not able to duplicate the issue with following:

#include "stdafx.h"
#include <string>
#include <vector>
#include <iostream>
#include <exception>

Jennifer

JenniferJ
Moderator
125 Views

Update to this issue:

The reason I couldn't reproduce is because I'm using icl 16.0. This issue happens only with icl 15.0. This bug is tracked as DPD200379497.

I'll update here when the fix is available, but please watch the email from Intel Premier Support about the 15.0 update.

Jennifer

Lubo_A_
Beginner
125 Views

We are also running into these exact issues with Intel 2016 (icl 16.0) and MSVC 2015 Update 1 (installed from scratch). Is there any development on resolving these problems ?

 

Lubo_A_
Beginner
125 Views

To be more precise, a simple "Hello World" app with the Intel 2016 and MSVC 2015 Update 1 fails with Severity    Code    Description    Project    File    Line    Suppression State
Error        expected an attribute name    Test    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception    248    

Severity    Code    Description    Project    File    Line    Suppression State
Error        identifier "__builtin_huge_valf" is undefined    Test    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits    1115    

etc...

 

 

Reply