GNOME Bugzilla – Bug 655155
Build failure for gstcontroller.c -- (-Wall) assignment discards qualifiers from pointer target type
Last modified: 2011-07-24 23:22:53 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
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
*** Bug 655226 has been marked as a duplicate of this bug. ***