-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building with mingw32 g++ on Windows 10 #67
Comments
Hello, I have the same issue, EDIT 1 : The weird thing is that on other of my computers, Reference : https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
|
I'm going back over these issues trying to get Windows support as good as I can, Is this still causing problems? I'm just trying MinGW for the first time in a long while on Windows 10 with a new install. The library in the develop branch builds and now passes all the unit tests with MSVC and MinGW. With MinGW, gcc 13.2, it's reporting _WIN32_WINNT as 0x0601, which is Windows 7 (despite this being Win10?) From an MS web page, it seems to imply that this is supposed to allow you to set the target version of Windows that you want? https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
So declare the macros before you include any Windows header(s) and it will honor what you ask? If it can? Is this something I should add to the library headers, like in |
The text was updated successfully, but these errors were encountered: