Closed friendlyanon closed 11 months ago
I have decided to remove /Zc:preprocessor
with 11d35cd to keep things simple. Once the windows-2022
github image is released as the latest
one, this could be added back.
Once #35 goes through, this can be closed as well.
Some Windows SDKs (10.0.17763.0 and earlier?) have bugs in them that emit warnings with the new, standards conforming preprocessor (
/Zc:preprocessor
). The SDK can be specified by setting the system version for CMake (as is done in a6683d5), but this has potential issues.Windows developers using this script locally will also have to install a Windows Update newer than 10.0.17763 with the matching Windows SDK to get the correct behavior by default.
This might be too much of a mental overhead for someone just starting out. Should the preprocessor flag be dropped and instead the ubuntu and macos CI runs be used to verify the conformance of the code?