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 9d60272 commit cc7e825Copy full SHA for cc7e825
test_python/setup.py
@@ -75,7 +75,7 @@ def has_flag(compiler, flagname):
75
76
77
def cpp_flag(compiler):
78
- """Return the -std=c++14 compiler flag and errors when the flag is
+ """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'):
@@ -104,6 +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')
108
for ext in self.extensions:
109
ext.extra_compile_args = opts
110
build_ext.build_extensions(self)
0 commit comments