Skip to content

Commit 246dd61

Browse files
CoDiPack now requires -std=c++17
1 parent 4745373 commit 246dd61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

m4/issm_options.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ AC_DEFUN([ISSM_OPTIONS],[
995995
AC_SUBST([CODIPACKINCL])
996996
fi
997997
AM_CONDITIONAL([CODIPACK], [test "x${HAVE_CODIPACK}" == "xyes"])
998-
AM_COND_IF(CODIPACK, [CXXFLAGS+=" -std=c++11"])
998+
AM_COND_IF(CODIPACK, [CXXFLAGS+=" -std=c++17"])
999999
dnl }}}
10001000
dnl Tape Allocation {{{
10011001
AC_MSG_CHECKING(for tape allocation)
@@ -2404,7 +2404,6 @@ AC_DEFUN([ISSM_OPTIONS],[
24042404
NEOPZINCL+=" -I${NEOPZ_ROOT}/include/SubStruct"
24052405
NEOPZINCL+=" -I${NEOPZ_ROOT}/include/Topology"
24062406
NEOPZINCL+=" -I${NEOPZ_ROOT}/include/Util"
2407-
CXXFLAGS+=" -std=c++11"
24082407
AC_DEFINE([_HAVE_NEOPZ_], [1], [with NeoPZ in ISSM src])
24092408
AC_SUBST([NEOPZINCL])
24102409
AC_SUBST([NEOPZLIB])
@@ -2662,4 +2661,4 @@ AC_DEFUN([ISSM_ENABLE_AD], [
26622661
AC_SUBST([AM_CPPFLAGS])
26632662
AC_SUBST([AM_LDFLAGS])
26642663
AC_SUBST([LIBS])
2665-
])
2664+
])

0 commit comments

Comments
 (0)