diff --git a/ChangeLog b/ChangeLog index b8b14ff364..ce605c7ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-11-11 Michael Natterer + + * configure.in: added -Winit-self and -Wpointer-arith to CFLAGS. + 2006-11-11 Michael Natterer * app/tools/gimpselectiontool.c diff --git a/configure.in b/configure.in index 65770aa8c3..7adb48defc 100644 --- a/configure.in +++ b/configure.in @@ -322,6 +322,12 @@ CFLAGS="$CFLAGS $extra_warnings" GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-declarations') 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 # compiling for Win32 with gcc.