boostorg / winapi

Windows API declarations without <windows.h>, for internal Boost use.
62 stars 58 forks source link

Multiple Errors - C28251 in VS 2022 (17.0.3) - v143 #89

Closed Reet-Kaur closed 2 years ago

Reet-Kaur commented 2 years ago

Hi,

I am trying to build my projects in VS2022 (17.0.3) with the latest build tools in Release(x64) mode. I get the following errors -

image image

Other relevant settings - Disable language Extensions - set to NO image

The projects build fine in Debug mode, so I wonder if upgrading to a more latest Boost version would help in this case.

Thanks in anticipation!

Lastique commented 2 years ago

Duplicates https://github.com/boostorg/winapi/issues/78.