Added flag '-Wno-nonnull-compare' to C++ compiler, to avoid

unnecessary warnings

git-svn-id: https://svn.code.sf.net/p/porg/code/trunk@187 8854956c-c02d-4db9-8198-7e99b8e08f37
This commit is contained in:
davidrr 2017-08-29 11:03:40 +00:00
parent f355e83c98
commit 516d9e1110
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
SVN
---
+ Added flag '-Wno-nonnull-compare' to C++ compiler, to avoid
unnecessary warnings (thanks Bat Guano).
+ porg: Function get_digits(): Return 1 when input number is 0.

View File

@ -120,7 +120,7 @@ if test "$GCC" = yes; then
fi
if test "$GXX" = yes; then
MY_CXXFLAGS="$MY_CXXFLAGS -ansi -pedantic -Wall -fno-operator-names -std=c++11 -Wno-deprecated-declarations"
MY_CXXFLAGS="$MY_CXXFLAGS -ansi -pedantic -Wall -fno-operator-names -std=c++11 -Wno-deprecated-declarations -Wno-nonnull-compare"
fi
if echo "$PACKAGE_VERSION" | grep -q svn; then