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

Add usage of _MSVC_LANG for windows C++ standard check #295

Merged
merged 2 commits into from
Sep 20, 2019

Conversation

ocommowi
Copy link
Contributor

Following discussion on PR #294 , here is an improvement that should work for all compilers (windows or not). Sorry about the error in the first place

Copy link
Collaborator

@jschueller jschueller left a comment

Choose a reason for hiding this comment

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

should be _MSC_VER instead of _WIN32, as this is specific to msvc (not mingw, cygwin...)

@ocommowi
Copy link
Contributor Author

Yes indeed, corrected

@ocommowi
Copy link
Contributor Author

Tell me if there is anything else I need to do to have this PR merged. That would help in our dev process. Thanks !

@stevengj stevengj merged commit a8b38b2 into stevengj:master Sep 20, 2019
elmarputs pushed a commit to elmarputs/nlopt that referenced this pull request Oct 16, 2019
* Add usage of _MSVC_LANG for windows C++ standard check

* Use MSC_VER instead or WIN32
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.

3 participants