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 305012 - [ximage] doesn't compile with gcc4
[ximage] doesn't compile with gcc4
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other Linux
: Urgent blocker
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-21 16:33 UTC by Michaël Arnauts
Modified: 2005-05-25 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix compile with gcc-4.0 (893 bytes, patch)
2005-05-21 17:29 UTC, Luca Ognibene
none Details | Review

Description Michaël Arnauts 2005-05-21 16:33:26 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
Comment 1 Luca Ognibene 2005-05-21 17:29:18 UTC
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.
Comment 2 Michaël Arnauts 2005-05-21 17:36:20 UTC
This patch works. Thanks!
Comment 3 Maciej Katafiasz 2005-05-21 17:38:02 UTC
setting blocker for release, as per Thomas's request
Comment 4 Thomas Vander Stichele 2005-05-25 11:36:25 UTC
commited to CVS, closing