GNOME Bugzilla – Bug 655226
Can't build due to gstcontroller.c:146:18: error: assignment discards qualifiers from pointer target type
Last modified: 2011-07-24 23:22:53 UTC
Build would fail with: make[4]: Entering directory /home/muelli/svn/gnome2/gstreamer/libs/gst/controller CC libgstcontroller_0.10_la-gstcontroller.lo 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 make[4]: *** [libgstcontroller_0.10_la-gstcontroller.lo] Error 1 It compiles cleanly now. However, I didn't really understand, where the const qualifier comes from.
Created attachment 192582 [details] [review] build: Explicitly casted a (const gchar*) to (gchar*) in controller
This looks like a duplicate of bug #655155 to me, unless I introduced a new problem.
Oh, it is indeed. I hit the error just before the weekend and now came back to it, assuming it still wouldn't work. Sorry for the noise. *** This bug has been marked as a duplicate of bug 655155 ***