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 655155 - Build failure for gstcontroller.c -- (-Wall) assignment discards qualifiers from pointer target type
Build failure for gstcontroller.c -- (-Wall) assignment discards qualifiers ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 655226 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-07-22 23:54 UTC by Luca Ferretti
Modified: 2011-07-24 23:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Ferretti 2011-07-22 23:54:07 UTC
From my jhbuild sandbox, updated to commit 70b95be8f0c65fd19f8cf7078f04a72014ba56a4


/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../..    -I../../../libs -I../../.. -I../../../libs -I../../.. -pthread -I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib64/glib-2.0/include  -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -I/usr/include/libxml2   -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs  -g   -DGST_DISABLE_DEPRECATED -Werror -g -O2 -MT libgstcontroller_0.10_la-gstcontroller.lo -MD -MP -MF .deps/libgstcontroller_0.10_la-gstcontroller.Tpo -c -o libgstcontroller_0.10_la-gstcontroller.lo `test -f 'gstcontroller.c' || echo './'`gstcontroller.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../libs -I../../.. -I../../../libs -I../../.. -pthread -I/opt/gnome3/include/glib-2.0 -I/opt/gnome3/lib64/glib-2.0/include -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -Werror -g -O2 -MT libgstcontroller_0.10_la-gstcontroller.lo -MD -MP -MF .deps/libgstcontroller_0.10_la-gstcontroller.Tpo -c gstcontroller.c  -fPIC -DPIC -o .libs/libgstcontroller_0.10_la-gstcontroller.o
cc1: warnings being treated as errors
gstcontroller.c: In function ‘gst_controlled_property_new’:
gstcontroller.c:146:18: error: assignment discards qualifiers from pointer target type
Comment 1 Tim-Philipp Müller 2011-07-23 07:01:20 UTC
Thanks, hope this fixes it:

 commit 6a1e2cc6e5c0dab93e68881f82f1f626e7eca694
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Sat Jul 23 08:00:09 2011 +0100

    controller: fix build failure due to compiler warning
    
    Presumably with newer GLib version.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655155
Comment 2 Tobias Mueller 2011-07-24 23:22:53 UTC
*** Bug 655226 has been marked as a duplicate of this bug. ***