Skip to content

Commit fef0bca

Browse files
committed
Bump C++ standard to C++17 (autotools)
This is necessary if we want to use googletest 1.17.0
1 parent 8057f01 commit fef0bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

M2/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ AC_SUBST(M2_CFLAGS)
262262
AC_SUBST(M2_CXXFLAGS)
263263

264264
dnl Fix standards, apply everywhere
265-
CXXFLAGS="-std=gnu++14 $CXXFLAGS"
265+
CXXFLAGS="-std=gnu++17 $CXXFLAGS"
266266
CFLAGS="-std=gnu11 $CFLAGS"
267267

268268
AC_PROG_CC() # set CFLAGS before this

0 commit comments

Comments
 (0)