Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Error error #1292: unknown attribute "no_init_all" when compiling with VS2019 and Windows Kits 10.0.18362.0

$
0
0

Hi, 

I installed Intel parallel studio XE 2020, with the latest patch, version (icl.exe version 19.1.1.216 Build 20200306) on a Windows 10 machine where Visual Studio 2019 is also installed also with the latest updates (cl.exe version 19.25.28611). I use the Windows sdk 10.0.18362.0.

Building our application with VS2019 works fine. However, if i use the Intel compiler i get the following errors: 

C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(3886): error #1292: unknown attribute "no_init_all"
     typedef struct DECLSPEC_ALIGN(16) DECLSPEC_NOINITALL _CONTEXT { 

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.25.28610\INCLUDE\xmmintrin.h(61): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead
     typedef long long __m128;

Has anyone already had these errors and know how to solve them ?

Thanks,

Brendan

 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>