From e1e70494590cf7dc69393297c79c125f37b156a9 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 3 Jul 2016 22:38:04 -0400 Subject: [PATCH] Add gnu++11, gnu++14 and gnu++17 testing --- cryptest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptest.sh b/cryptest.sh index 0d13f0a7..192147b5 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -192,7 +192,7 @@ fi if [[ (-z "$HAVE_GNU14") ]]; then HAVE_GNU14=0 - "$CXX" -DCRYPTOPP_ADHOC_MAIN -std=c++14 adhoc.cpp -o "$TMP/adhoc.exe" > /dev/null 2>&1 + "$CXX" -DCRYPTOPP_ADHOC_MAIN -std=gnu++14 adhoc.cpp -o "$TMP/adhoc.exe" > /dev/null 2>&1 if [[ "$?" -eq "0" ]]; then HAVE_GNU14=1 fi @@ -209,7 +209,7 @@ fi if [[ (-z "$HAVE_GNU11") ]]; then HAVE_GNU11=0 - "$CXX" -DCRYPTOPP_ADHOC_MAIN -std=c++11 adhoc.cpp -o "$TMP/adhoc.exe" > /dev/null 2>&1 + "$CXX" -DCRYPTOPP_ADHOC_MAIN -std=gnu++11 adhoc.cpp -o "$TMP/adhoc.exe" > /dev/null 2>&1 if [[ "$?" -eq "0" ]]; then HAVE_GNU11=1 fi