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:
parent
516d9e1110
commit
028ce9df25
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue