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

fix: Fix Cpp standard detection for MSVC #6

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

DNedic
Copy link
Owner

@DNedic DNedic commented Jul 16, 2023

Since __cplusplus is hard defined to 199711L without using /Zc:__cplusplus, switch to using _MSVC_LANG when MSVC is used to detect the cpp version.

Solves #5

Since __cplusplus is hard defined to 199711L without using /Zc:__cplusplus,
switch to using _MSVC_LANG when MSVC is used to detect the cpp version.
@DNedic DNedic merged commit d449b1e into main Jul 16, 2023
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.

1 participant