summarylogtreecommitdiffstats
path: root/c++17.patch
blob: 3bf0a7727b1f32c4066d733c661e947b2ba1786d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/setup.py b/setup.py
index 68cf94c..52e7493 100644
--- a/setup.py
+++ b/setup.py
@@ -104,7 +104,7 @@ def cpp_flag(compiler):
     """Return the -std=c++[11/14/17] compiler flag.
     The newer version is prefered over c++11 (when it is available).
     """
-    flags = ["-std=c++14", "-std=c++11"]
+    flags = ["-std=c++17", "-std=c++14", "-std=c++11"]
 
     for flag in flags:
         if has_flag(compiler, flag):