GNOME Bugzilla – Bug 303011
compilation fails on GCC4 warnings
Last modified: 2005-05-05 19:27:49 UTC
Please describe the problem: 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 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -MT libgstspeed_la-gstspeed.lo -MD -MP -MF .deps/libgstspeed_la-gstspeed.Tpo -c gstspeed.c -fPIC -DPIC -o .libs/libgstspeed_la-gstspeed.o cc1: warnings being treated as errors gstspeed.c: In function 'speed_parse_caps': gstspeed.c:134: warning: pointer targets in passing argument 3 of 'gst_structure_get_int' differ in signedness gstspeed.c:135: warning: pointer targets in passing argument 3 of 'gst_structure_get_int' differ in signedness gstspeed.c:136: warning: pointer targets in passing argument 3 of 'gst_structure_get_int' differ in signedness gstspeed.c:139: warning: pointer targets in passing argument 3 of 'gst_structure_get_int' differ in signedness make[3]: *** [libgstspeed_la-gstspeed.lo] Error 1 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
I've fixed everything gcc-4.0 related in the gst-plugins 0.8 branch that I came across now, but there's a good bunch of plugins that are not compiled because I'm missing the necessary libraries etc, so I might have missed a few. Cheers -Tim