Added flag '-Wno-nonnull-compare' to gcc as well

git-svn-id: https://svn.code.sf.net/p/porg/code/trunk@188 8854956c-c02d-4db9-8198-7e99b8e08f37
This commit is contained in:
davidrr 2017-08-30 18:33:29 +00:00
parent 516d9e1110
commit 028ce9df25
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -116,7 +116,7 @@ MY_CFLAGS=-W
MY_CXXFLAGS=-W
if test "$GCC" = yes; then
MY_CFLAGS="$MY_CFLAGS -ansi -Wshadow -Wmissing-declarations -Wall"
MY_CFLAGS="$MY_CFLAGS -ansi -Wshadow -Wmissing-declarations -Wall -Wno-nonnull-compare"
fi
if test "$GXX" = yes; then