GNOME Bugzilla – Bug 305012
[ximage] doesn't compile with gcc4
Last modified: 2005-05-25 11:36:25 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Werror -I/usr/X11R6/include -g -O2 -MT libgstximagesink_la-ximagesrc.lo -MD -MP -MF .deps/libgstximagesink_la-ximagesrc.Tpo -c ximagesrc.c -fPIC -DPIC -o .libs/libgstximagesink_la-ximagesrc.o cc1: warnings being treated as errors ximagesrc.c: In function 'gst_ximagesrc_get': ximagesrc.c:204: warning: pointer targets in assignment differ in signedness ximagesrc.c: In function 'gst_ximagesrc_change_state': ximagesrc.c:225: warning: case label value exceeds maximum value for type make[3]: *** [libgstximagesink_la-ximagesrc.lo] Error 1 make[3]: Leaving directory `/mnt/extra/Sources/gst-plugins/sys/ximage' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/extra/Sources/gst-plugins/sys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/extra/Sources/gst-plugins' make: *** [all] Error 2
Created attachment 46719 [details] [review] fix compile with gcc-4.0 I'm not committing this because gst-plugins is in frozen state. Feel free to apply this patch, seems to work for me.
This patch works. Thanks!
setting blocker for release, as per Thomas's request
commited to CVS, closing