summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/files/protobuf-python-4.22.5-c++-17.patch
blob: 3ca6a5776d0430428075cb081ce722a8df1040fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/python/setup.py b/python/setup.py
index e65631013..8a6cbe59a 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -370,7 +370,7 @@ if __name__ == '__main__':
       extra_compile_args.append('-Wno-invalid-offsetof')
       extra_compile_args.append('-Wno-sign-compare')
       extra_compile_args.append('-Wno-unused-variable')
-      extra_compile_args.append('-std=c++14')
+      extra_compile_args.append('-std=c++17')
 
     if sys.platform == 'darwin':
       extra_compile_args.append('-Wno-shorten-64-to-32')