File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ def has_flag(compiler, flagname):
9696
9797
9898def cpp_flag (compiler ):
99- """Return the -std=c++[11/14/17] compiler flag.
99+ """Return the -std=c++[11/14/17/20 ] compiler flag.
100100
101101 The newer version is prefered over c++11 (when it is available).
102102 """
103- flags = ["-std=c++14" , "-std=c++11" ]
103+ flags = ["-std=c++20" , "-std=c++17" , "-std=c++ 14" , "-std=c++11" ]
104104
105105 for flag in flags :
106106 if has_flag (compiler , flag ):
@@ -113,7 +113,7 @@ class BuildExt(build_ext):
113113 """A custom build extension for adding compiler-specific options."""
114114
115115 c_opts = {
116- "msvc" : ["/EHsc" , "/std:c++14 " ],
116+ "msvc" : ["/EHsc" , "/std:c++20 " ],
117117 "unix" : [],
118118 }
119119 l_opts = {
You can’t perform that action at this time.
0 commit comments