summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardLevelResolver.cxx
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-02-06 16:54:13 (GMT)
committerRaul Tambre <raul@tambre.ee>2021-02-25 16:22:10 (GMT)
commit93b7d3d29221f98388c7fa20568cd0b769a26774 (patch)
tree389c3bf8cd1e2a9cc03f431874d16448eee9fe1d /Source/cmStandardLevelResolver.cxx
parent58d9525233e4ffca1c7edc7a5978770a0e4ec36d (diff)
downloadCMake-93b7d3d29221f98388c7fa20568cd0b769a26774.zip
CMake-93b7d3d29221f98388c7fa20568cd0b769a26774.tar.gz
CMake-93b7d3d29221f98388c7fa20568cd0b769a26774.tar.bz2
C17 support
Implements #17755.
Diffstat (limited to 'Source/cmStandardLevelResolver.cxx')
-rw-r--r--Source/cmStandardLevelResolver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmStandardLevelResolver.cxx b/Source/cmStandardLevelResolver.cxx
index bf6925e..e290663 100644
--- a/Source/cmStandardLevelResolver.cxx
+++ b/Source/cmStandardLevelResolver.cxx
@@ -308,8 +308,9 @@ struct StanardLevelComputer
std::unordered_map<std::string, StanardLevelComputer> StandardComputerMapping =
{
{ "C",
- StanardLevelComputer{ "C", std::vector<int>{ 90, 99, 11 },
- std::vector<std::string>{ "90", "99", "11" } } },
+ StanardLevelComputer{
+ "C", std::vector<int>{ 90, 99, 11, 17 },
+ std::vector<std::string>{ "90", "99", "11", "17" } } },
{ "CXX",
StanardLevelComputer{
"CXX", std::vector<int>{ 98, 11, 14, 17, 20, 23 },