Skip to content

Conversation

@conradsnicta
Copy link
Contributor

Workaround for the byzantine ways of enabling C++17 mode in the MSVC "compiler".

MSVC uses a custom macro named _MSVC_LANG in addition to (or instead of) the standard __cplusplus macro, depending on how the user enabled C++17 mode (which itself can be confusing).

Related to #3549

Copy link
Member

@shrit shrit left a comment

Choose a reason for hiding this comment

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

Looks good to me. However, I do not have any Windows machine to test it, but give that it passed the tests then it should be fine

Co-authored-by: Ryan Curtin <[email protected]>
Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

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

Second approval provided automatically after 24 hours. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants