diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-10-26 19:03:36 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-10-26 19:03:36 +0200 |
commit | 9a5acb6184354b086d93033e8d392d7054dcb12a (patch) | |
tree | ff4acae07c9c8d3af33ab5da395d517e449152e0 /tools/test_scripts/testheaders.sh | |
parent | aedf65588f71779ade0c5e7e77b4f75fd67f4497 (diff) | |
download | glibmm-9a5acb6184354b086d93033e8d392d7054dcb12a.tar.gz |
tools/test_scripts/testheaders.sh: Require C++17
and fix a directory test.
Diffstat (limited to 'tools/test_scripts/testheaders.sh')
-rwxr-xr-x | tools/test_scripts/testheaders.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test_scripts/testheaders.sh b/tools/test_scripts/testheaders.sh index 5780d7fd..7d618419 100755 --- a/tools/test_scripts/testheaders.sh +++ b/tools/test_scripts/testheaders.sh @@ -18,8 +18,7 @@ function usage() { exit 1 } -#extra_gcc_args=-std=c++11 -extra_gcc_args= +extra_gcc_args=-std=c++17 # Search for directories to include in CFLAGS. idirs="" @@ -56,7 +55,7 @@ shift # Search for more directories to include in CFLAGS. for i in "$@" do - if [ -d "$1" ] + if [ -d "$i" ] then idirs+=" -I$i" fi |