void-packages/srcpkgs/python3-protobuf/patches/cpp17.patch

12 lines
477 B
Diff

--- a/python/setup.py 2023-07-05 23:53:30.000000000 +0200
+++ - 2023-07-14 16:19:35.949677747 +0200
@@ -370,7 +370,7 @@
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')