mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
gcc-4.5.0 show a warning when comparing enums.
This commit is contained in:
parent
fecb5f1f9d
commit
cb6556302c
@ -1687,6 +1687,9 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
|
||||
# alternative is just too ugly. Thanks gcc guys!! ;)
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
;;
|
||||
4.5*)
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign -Wno-enum-compare"
|
||||
;;
|
||||
4.*)
|
||||
# Do not show warnings related to (char * | unsigned char *) type
|
||||
# difference.
|
||||
|
Loading…
Reference in New Issue
Block a user