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

About MSVC and __cplusplus #76

Closed
unterumarmung opened this issue Oct 20, 2020 · 1 comment
Closed

About MSVC and __cplusplus #76

unterumarmung opened this issue Oct 20, 2020 · 1 comment
Labels
available on master Fix is done on master branch, issue closed on next release enhancement New feature or request
Milestone

Comments

@unterumarmung
Copy link

In MSVC there's special macro called _MSVC_LANG that works fine without /Zc:cplusplus flag
So you can build your own macro, for example:
https://github.com/oneapi-src/oneTBB/blob/8632c278467f99941caff8a666fa33e57650c53f/include/tbb/detail/_config.h#L39-L47

@gulrak gulrak added the enhancement New feature or request label Oct 20, 2020
@gulrak gulrak added this to the v1.3.8 milestone Oct 24, 2020
@gulrak gulrak added the available on master Fix is done on master branch, issue closed on next release label Oct 27, 2020
@gulrak
Copy link
Owner

gulrak commented Nov 15, 2020

Released with v1.3.8

@gulrak gulrak closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available on master Fix is done on master branch, issue closed on next release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants