GNOME Bugzilla – Bug 113993
compile failure with gcc-3.3
Last modified: 2004-12-22 21:47:04 UTC
Gstreamer does not compile with -Wall -Werror with gcc-3.3 because of a bug in glib (#113991). Workarounds: 1) Don't use gcc-3.3 by running 'CC=gcc-3.2 ./autogen.sh' 2) Remove -Werror in configure.ac and rerun ./autogen.sh 3) Apply this patch to /usr/lib/glib-2.0/glibconfig.h: diff -ur glib-2.2.1/configure.in glib-2.2.1-deb/configure.in --- glib-2.2.1/configure.in 2003-01-28 14:00:02.000000000 -0800 +++ glib-2.2.1-deb/configure.in 2003-05-29 11:52:10.000000000 -0700 @@ -1969,9 +1969,9 @@ #define G_MAXLONG $glib_Ml #define G_MAXULONG $glib_Mul -#define G_MININT64 ((gint64) 0x8000000000000000) -#define G_MAXINT64 ((gint64) 0x7fffffffffffffff) -#define G_MAXUINT64 ((guint64) 0xffffffffffffffff) +#define G_MININT64 ((gint64) 0x8000000000000000LL) +#define G_MAXINT64 ((gint64) 0x7fffffffffffffffLL) +#define G_MAXUINT64 ((guint64) 0xffffffffffffffffLL) _______EOF
*** This bug has been marked as a duplicate of 113992 ***