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 support for C++20 & 2b #148

Closed
LucHermitte opened this issue Feb 24, 2022 · 1 comment · Fixed by #170
Closed

Add support for C++20 & 2b #148

LucHermitte opened this issue Feb 24, 2022 · 1 comment · Fixed by #170

Comments

@LucHermitte
Copy link

In order to support C++20, cxx_standard::__STD_CXX dictionary in utils/utils.py should be fixed to contain:

...
        '-std=c++2a': 202002,
        '-std=gnu++2a': 202002,
        '-std=c++20': 202002,
        '-std=gnu++20': 202002,
        '-std=c++2b': float('inf'),
        '-std=gnu++2b': float('inf'),

But I'm not sure we should limit the list of valid values as we kind of know we have a new version every 3 years, and at most 3 (draft) versions per decade.

iMichka added a commit to iMichka/pygccxml that referenced this issue Aug 21, 2023
iMichka added a commit to iMichka/pygccxml that referenced this issue Aug 21, 2023
@iMichka
Copy link
Contributor

iMichka commented Aug 21, 2023

I made the fix for the next release. Sadly I don't see a different solution right now. Better than nothing I guess.

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 a pull request may close this issue.

2 participants