Skip to content

Commit

Permalink
Utils: add support for new c++ versions
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed Aug 21, 2023
1 parent 10dadd8 commit a0c7a64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pygccxml/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,12 @@ class cxx_standard(object):
'-std=c++17': 201703,
'-std=gnu++1z': 201703,
'-std=gnu++17': 201703,
'-std=c++2a': float('inf'),
'-std=gnu++2a': float('inf'),
'-std=c++2a': 202002,
'-std=gnu++2a': 202002,
'-std=c++20': 202002,
'-std=gnu++20': 202002,
'-std=c++23': float('inf'),
'-std=gnu++23': float('inf'),
}

def __init__(self, cflags):
Expand Down

0 comments on commit a0c7a64

Please sign in to comment.