After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303011 - compilation fails on GCC4 warnings
compilation fails on GCC4 warnings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other All
: Normal normal
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-04 16:18 UTC by Christian Fredrik Kalager Schaller
Modified: 2005-05-05 19:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Christian Fredrik Kalager Schaller 2005-05-04 16:18:47 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:
Comment 1 Tim-Philipp Müller 2005-05-05 19:27:49 UTC
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