Skip to content

Commit b7783e0

Browse files
committed
bump to C++17
Signed-off-by: c8ef <c8ef@outlook.com>
1 parent fb1993e commit b7783e0

14 files changed

Lines changed: 4288 additions & 540 deletions

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build --conlyopt='-std=gnu11' --cxxopt='-std=gnu++14'
1+
build --conlyopt='-std=gnu11' --cxxopt='-std=gnu++17'

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ AC_PROG_CXX
2121
# built if --with-proto=yes)
2222
# if there is no C++ compiler available or if the C++ compiler doesn't support
2323
# std=c++11, configure will not fail
24-
AX_CXX_COMPILE_STDCXX_11([noext],[optional])
24+
AX_CXX_COMPILE_STDCXX([17], [noext], [optional])
2525

2626
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python3 python])
2727
AM_CONDITIONAL([HAVE_python], [test "$PYTHON" != :])

frontends_extra/cpp/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ AC_CONFIG_MACRO_DIR([m4])
1616
AC_LANG_PUSH(C)
1717
AC_LANG_PUSH(C++)
1818

19-
AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
19+
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
2020

2121
want_bmv2=no
2222
AC_ARG_WITH([bmv2],

0 commit comments

Comments
 (0)