mirror of https://github.com/GNOME/gimp.git
added -Winit-self and -Wpointer-arith to CFLAGS.
2006-11-11 Michael Natterer <mitch@gimp.org> * configure.in: added -Winit-self and -Wpointer-arith to CFLAGS.
This commit is contained in:
parent
cb6fe48ccd
commit
8cbc5e652b
|
@ -1,3 +1,7 @@
|
||||||
|
2006-11-11 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: added -Winit-self and -Wpointer-arith to CFLAGS.
|
||||||
|
|
||||||
2006-11-11 Michael Natterer <mitch@gimp.org>
|
2006-11-11 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/tools/gimpselectiontool.c
|
* app/tools/gimpselectiontool.c
|
||||||
|
|
|
@ -322,6 +322,12 @@ CFLAGS="$CFLAGS $extra_warnings"
|
||||||
GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-declarations')
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-declarations')
|
||||||
CFLAGS="$CFLAGS $extra_warnings"
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Winit-self')
|
||||||
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
GIMP_DETECT_CFLAGS(extra_warnings, '-Wpointer-arith')
|
||||||
|
CFLAGS="$CFLAGS $extra_warnings"
|
||||||
|
|
||||||
|
|
||||||
# Ensure MSVC-compatible struct packing convention is used when
|
# Ensure MSVC-compatible struct packing convention is used when
|
||||||
# compiling for Win32 with gcc.
|
# compiling for Win32 with gcc.
|
||||||
|
|
Loading…
Reference in New Issue