mirror of https://github.com/GNOME/gimp.git
configure.ac: add -Wlogical-op and -Wtype-limits
This commit is contained in:
parent
7ec04e4afe
commit
10e07292ec
|
@ -428,6 +428,12 @@ CFLAGS="$CFLAGS $extra_warnings"
|
||||||
GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-security')
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-security')
|
||||||
CFLAGS="$CFLAGS $extra_warnings"
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Wlogical-op')
|
||||||
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Wtype-limits')
|
||||||
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
|
GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
|
||||||
CFLAGS="$CFLAGS $extra_warnings"
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue