Bill Sommerfeld
2024-02-01 3f22b3c7c40da7c3998dc398026cf37efc8a694a
components/shell/mosh/patches/cxx17.patch
File was renamed from components/shell/mosh/patches/cxx14.patch
@@ -6,10 +6,10 @@
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 
-# Protobuf 3.6+ requires C++11.
+# Protobuf 3.6+ requires C++14.
+# Protobuf 24.4+ (and perhaps earlier) requires C++17.
 AS_IF([pkg-config --atleast-version 3.6.0 protobuf],
-  [AX_CXX_COMPILE_STDCXX([11])])
+  [AX_CXX_COMPILE_STDCXX([14])])
+  [AX_CXX_COMPILE_STDCXX([17])])
 
 WARNING_CXXFLAGS=""
 PICKY_CXXFLAGS=""