We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0263521 commit a847459Copy full SHA for a847459
test_python/setup.py
@@ -78,8 +78,8 @@ def cpp_flag(compiler):
78
"""Return the -std=c++17 compiler flag and errors when the flag is
79
no available.
80
"""
81
- if has_flag(compiler, '-std=c++17'):
82
- return '-std=c++17'
+ if has_flag(compiler, '-std=c++20'):
+ return '-std=c++20'
83
else:
84
raise RuntimeError('C++17 support is required by xtensor!')
85
@@ -104,7 +104,7 @@ def build_extensions(self):
104
opts.append('-fvisibility=hidden')
105
elif ct == 'msvc':
106
opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version())
107
- opts.append('/std:c++17')
+ opts.append('/std:c++20')
108
for ext in self.extensions:
109
ext.extra_compile_args = opts
110
build_ext.build_extensions(self)
0 commit comments