Skip to content
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

Upgrade module-test to msvc 16.11.5 and 17.0-pre5 #2558

Merged

Conversation

DanielaE
Copy link
Contributor

Addresses issue #2557

Copy link
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

Comment on lines +79 to +80
((_MSC_VER == 1929 && _MSC_FULL_VER <= 192930136) || \
(_MSC_VER == 1930 && _MSC_FULL_VER <= 193030704))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why check both _MSC_VER and _MSC_FULL_VER? Also wouldn't it be enough to replace all four checks with _MSC_FULL_VER <= 193030704?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's simple: _MSC_VER == 1929 is VS2019, while 1930 is VS2020. All of them are ABI-compatible, therefore they share the 19 - it's basically ABI 19.
So the check is for 'up to VS2019 Update 11 Fix 5' (a.k.a. msvc 16.11.5) in the VS2019 series and 'up to VS2022 Preview 5' (a.k.a. msvc 17.0-pre5) in the VS2022 series. The gap between the both is for an upcoming (final?) compiler version in the VS2019 series that is supposed to wrap-up VS2019 with some feature/fix backports from VS2022. This one might eventally fix this the non-exported namespace issue.

@cdacamar Cameron: or is this completely out of the picture? In this case we could totally forget about VS2019 from here on.

@vitaut vitaut merged commit df40e94 into fmtlib:master Oct 24, 2021
@DanielaE DanielaE deleted the feature/upgrade-compilers-for-module_test branch October 24, 2021 15:13
PoetaKodu pushed a commit to pacc-repo/fmt that referenced this pull request Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants