--std=c++17 (#2330)

* switch to c++17

* more 17

* 1z

* use std::clamp

* Fix types in clamp

* bump submodules

* bump laika

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 339d1967cb1e8ca73aeb1f0066a23b0933706ae5
This commit is contained in:
Willem Melching
2020-10-17 22:33:12 +02:00
committed by GitHub
parent f92c30b164
commit 651d4ce031
18 changed files with 23 additions and 27 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ from Cython.Build import cythonize
from common.cython_hacks import BuildExtWithoutPlatformSuffix
sourcefiles = ['clock.pyx']
extra_compile_args = ["-std=c++14"]
extra_compile_args = ["-std=c++1z"]
setup(name='common',
cmdclass={'build_ext': BuildExtWithoutPlatformSuffix},