Quantcast
Viewing all articles
Browse latest Browse all 1175

_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.


Viewing all articles
Browse latest Browse all 1175

Trending Articles



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