* macros2/compiler-flags.m4: don't use -Wsign-promo, it is
C++ only and causes warnings with gcc 3.3 when used on C.
svn path=/trunk/; revision=3048
+2003-07-04 Frederic Crozat <fcrozat@mandrakesoft.com>
+
+ * macros2/compiler-flags.m4: don't use -Wsign-promo, it is
+ C++ only and causes warnings with gcc 3.3 when used on C.
+
2003-06-24 Marco Pesenti Gritti <marco@it.gnome.org>
* macros2/autogen.sh:
maximum|error)
warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
CFLAGS="$warning_flags $CFLAGS"
- for option in -Wsign-promo -Wno-sign-compare; do
+ for option in -Wno-sign-compare; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])