From 65bccb4fc48707a8bcccedaa57a87468ad8b7349 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jan 2017 01:43:42 +0300 Subject: Add compiler flag -Wno-attributes for prevent warnings about packed attributes. --- build/gcc6flags.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build/gcc6flags.sh') diff --git a/build/gcc6flags.sh b/build/gcc6flags.sh index e3632a938..94e0cf6e4 100755 --- a/build/gcc6flags.sh +++ b/build/gcc6flags.sh @@ -23,7 +23,8 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Warray-temporaries" #export CXXFLAGS="${CXXFLAGS} -Wassign-intercept" -export CXXFLAGS="${CXXFLAGS} -Wattributes" +# show warnings for padding +#export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" export CXXFLAGS="${CXXFLAGS} -Wbool-compare" -- cgit v1.2.3-60-g2f50