From 51631289db685944e3f584d52b1373505d075ba5 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Wed, 29 Jun 2022 18:33:57 +0100 Subject: [PATCH] Need C++11 standard --- otherbuilds/check.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/otherbuilds/check.sh b/otherbuilds/check.sh index ed495a0..47758a2 100755 --- a/otherbuilds/check.sh +++ b/otherbuilds/check.sh @@ -9,13 +9,13 @@ if [ ! -d /Applications ]; then make -f otherbuilds/Makefile.linux echo " *** Linking against static library" - g++ main/main.cpp lib/librubberband.a -I. -Isrc -o test -lsndfile -lpthread + g++ -std=c++11 main/main.cpp lib/librubberband.a -I. -Isrc -o test -lsndfile -lpthread echo " *** Running build from Linux-specific Makefile" ./test -V echo " *** Building with single-file source" - g++ -O3 main/main.cpp single/RubberBandSingle.cpp -o test_single -lsndfile + g++ -O3 -std=c++11 main/main.cpp single/RubberBandSingle.cpp -o test_single -lsndfile echo " *** Running build from single-file source" ./test_single -V @@ -29,13 +29,13 @@ else make -f otherbuilds/Makefile.macos echo " *** Linking against static library" - c++ main/main.cpp lib/librubberband.a -I. -Isrc -o test -lsndfile -framework Accelerate + c++ -std=c++11 main/main.cpp lib/librubberband.a -I. -Isrc -o test -lsndfile -framework Accelerate echo " *** Running build from macOS-specific Makefile" ./test -V echo " *** Building with single-file source" - c++ -O3 main/main.cpp single/RubberBandSingle.cpp -o test_single -lsndfile -framework Accelerate + c++ -O3 -std=c++11 main/main.cpp single/RubberBandSingle.cpp -o test_single -lsndfile -framework Accelerate echo " *** Running build from single-file source" ./test_single -V