-
Notifications
You must be signed in to change notification settings - Fork 109
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
Update compiler workarounds for MSVC 2022 #124
Comments
Hi, I got a similar report about a month ago from @Auburn who was trying out the 2022 Preview, but didn't have a chance to make a fix yet -- waiting on AppVeyor CI to make 2022 Preview available (appveyor/ci#3712). Sorry about that. In the meantime, passing A bit of background, I have a set of VS-specific workarounds, but those are conservatively enabled only for versions that I know about, in an anticipation that they'll get obsoleted with newer versions (most of them did so far, allowing me to gradually clean them up, which is great). For this particular error however, I suppose the behavior differs with the |
Thanks for your instant reply @mosra. I have tried to build |
Ah, great. Do you know if there's a way to detect from the preprocessor if the I was looking for a way to do that a few times already, but couldn't find any macro describing the level of enabled standard conformance. Thank you! |
Sorry, I don't know how to detect it. But we could add /std:c++latest to enable this option. |
Thanks for the information, good to know that the I had a look at the code in question and got changed in current |
To bump this, looks like AppVeyor CI has added VS 2022 support now Setting MSVC2019_COMPATIBILITY does still fix the compile issues in the release version of VS2022 |
As of 00cfbbb there's a new Commits a72eea8, 2fa0ba1, mosra/magnum@acc17f0, mosra/magnum@4d574b0, mosra/magnum@efcdfc1 and mosra/magnum-plugins@18a1d60 make Corrade, Magnum and Magnum Plugins work with both MSVC 2019 and 2022, both with and without the |
Hi @mosra,
I'm a member of Microsoft vcpkg team. In our latest internal test,
corrade
installation failed with following error:After investigation, we found that it was caused by the value of
CMAKE_CXX_COMPILER_VERSION
. It has become19.31.30710.95
in interval version of Visual Studio, which is out of range 19.30 in Visual Studio 2019.Seems
corrade
needs to support Visual Studio 2022. Could you please help look into and confirm this issue?Thanks in advance.
The text was updated successfully, but these errors were encountered: