[glibmm] test_scripts/testheaders.sh: Add -std=c++11 in the g++ commands



commit dd5e56fa26d5fce8aa6fd7d14d3a1c41db0f8d5a
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Jul 23 16:59:18 2015 +0200

    test_scripts/testheaders.sh: Add -std=c++11 in the g++ commands

 tools/test_scripts/testheaders.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/test_scripts/testheaders.sh b/tools/test_scripts/testheaders.sh
index b6de397..150ada4 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]