From da5ddce4a065890a2453865fddfa746f7fbf9d26 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Jun 2016 23:52:23 +0300 Subject: In deheader ci scripts mode -std flag into special parameter. This will fix include issue with enabled C++11 flag. --- tools/ci/scripts/deheader.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh index ddf60169d..0d7953b88 100755 --- a/tools/ci/scripts/deheader.sh +++ b/tools/ci/scripts/deheader.sh @@ -19,5 +19,6 @@ ${dir}/deheader -q -i "\"debug.h\"" \ -i "\"$name\"" \ -c "$CXX" \ -d "$FLAGS" \ --m "-c -std=gnu++1z -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 \ +-s "-std=gnu++1z" \ +-m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 \ | grep -v "portability requires" | tee -a ${LOGFILE} -- cgit v1.2.3-70-g09d2