Need C++11 standard
This commit is contained in:
@@ -9,13 +9,13 @@ if [ ! -d /Applications ]; then
|
|||||||
make -f otherbuilds/Makefile.linux
|
make -f otherbuilds/Makefile.linux
|
||||||
|
|
||||||
echo " *** Linking against static library"
|
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"
|
echo " *** Running build from Linux-specific Makefile"
|
||||||
./test -V
|
./test -V
|
||||||
|
|
||||||
echo " *** Building with single-file source"
|
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"
|
echo " *** Running build from single-file source"
|
||||||
./test_single -V
|
./test_single -V
|
||||||
@@ -29,13 +29,13 @@ else
|
|||||||
make -f otherbuilds/Makefile.macos
|
make -f otherbuilds/Makefile.macos
|
||||||
|
|
||||||
echo " *** Linking against static library"
|
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"
|
echo " *** Running build from macOS-specific Makefile"
|
||||||
./test -V
|
./test -V
|
||||||
|
|
||||||
echo " *** Building with single-file source"
|
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"
|
echo " *** Running build from single-file source"
|
||||||
./test_single -V
|
./test_single -V
|
||||||
|
|||||||
Reference in New Issue
Block a user