File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,7 @@ class MMSConfig(object):
156
156
'-fPIC' ,
157
157
]
158
158
159
- if cxx .version == 'apple-clang-6.0' or cxx .version == 'clang-3.4' :
160
- cxx .cxxflags += ['-std=c++1y' ]
161
- else :
162
- cxx .cxxflags += ['-std=c++14' ]
159
+ cxx .cxxflags += ['-std=c++17' ]
163
160
if (cxx .version >= 'gcc-4.0' ) or cxx .family == 'clang' :
164
161
cxx .cflags += ['-fvisibility=hidden' ]
165
162
cxx .cxxflags += ['-fvisibility-inlines-hidden' ]
@@ -169,6 +166,7 @@ class MMSConfig(object):
169
166
'-fno-threadsafe-statics' ,
170
167
'-Wno-non-virtual-dtor' ,
171
168
'-Wno-overloaded-virtual' ,
169
+ '-Wno-register' ,
172
170
]
173
171
if (cxx .version >= 'gcc-4.7' or cxx .family == 'clang' ):
174
172
cxx .cxxflags += ['-Wno-delete-non-virtual-dtor' ]
@@ -206,6 +204,7 @@ class MMSConfig(object):
206
204
cxx .cflags += [
207
205
'/W3' ,
208
206
'/Zi' ,
207
+ '/std:c++17' ,
209
208
]
210
209
cxx .cxxflags += ['/TP' ]
211
210
You can’t perform that action at this time.
0 commit comments