summaryrefslogtreecommitdiff
path: root/tools/test_scripts
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-07-23 16:59:18 +0200
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-07-23 17:11:55 +0200
commitdd5e56fa26d5fce8aa6fd7d14d3a1c41db0f8d5a (patch)
tree87e8bf15ea2760ab0fd1e5b9743374ee7934c52d /tools/test_scripts
parent1bed47055676dbc0bdfc5f2542781770bbe4797c (diff)
downloadglibmm-dd5e56fa26d5fce8aa6fd7d14d3a1c41db0f8d5a.tar.gz
test_scripts/testheaders.sh: Add -std=c++11 in the g++ commands
Diffstat (limited to 'tools/test_scripts')
-rwxr-xr-xtools/test_scripts/testheaders.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test_scripts/testheaders.sh b/tools/test_scripts/testheaders.sh
index b6de3976..150ada4e 100755
--- a/tools/test_scripts/testheaders.sh
+++ b/tools/test_scripts/testheaders.sh
@@ -75,11 +75,11 @@ do
for headerfile in $i/${i}mm/*.h
do
echo "=== $headerfile"
- g++ -c -x c++ -o /dev/null $headerfile $CFLAGS
+ g++ -c -x c++ -std=c++11 -o /dev/null $headerfile $CFLAGS
done
else
echo "=== $i"
- g++ -c -x c++ -o /dev/null $i $CFLAGS
+ g++ -c -x c++ -std=c++11 -o /dev/null $i $CFLAGS
fi
done