Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Clift__Neill
Beginner
570 Views

_VARIANT_BOOL errors when including windows.h

How do I get rid of these errors:

1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(487): error : expected a declaration
1>                  _VARIANT_BOOL bool;
1>                  ^
1>
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(502): error : expected a declaration
1>                  _VARIANT_BOOL *pbool;
1>                  ^

I see an old mention of this that it's related to the version the compiler is claiming to be via _MSC_VER but I haven't been able to sort it this way so far.

0 Kudos
5 Replies
Viet_H_Intel
Moderator
570 Views

What Intel compiler version are you using? and what Microsoft Visual Studio version?

Clift__Neill
Beginner
570 Views

I am using Visual studio 2019. I am using the c compiler in Parallel Studio XE 2018 update 4.

Clift__Neill
Beginner
570 Views

Clift, Neill wrote:

I am using Visual studio 2019. I am using the c compiler in Parallel Studio XE 2019 update 4.

Clift__Neill
Beginner
570 Views

Thats funny In help about in Visual studio it says parallel XE 2019 update 4 but in the intel s/w manager history it has 2018 update 4.

Viet_H_Intel
Moderator
570 Views

VS2019 hasn't been yet supported by Intel compiler. 

You can see system requirements in the RN https://software.intel.com/en-us/articles/intel-c-compiler-190-for-windows-release-notes-for-intel-parallel-studio-xe-2019#sysreq 

Reply