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

added workaround for wrong value of __cplusplus in MSVC compiler #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

georg-emg
Copy link

The Microsoft Visual C++ compiler dies not define __cplucpluc correctly unless /Zc:__cplusplus is specified. As a result, the TL_EXPECTED_CXX14 macro is not defined on Visual C++ compiler, even if they support C++14. I added a chevck for the Visual C++ compiler version to correctly set TL_EXPECTED_CXX14 for Visual Sudio 2017+.

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