Bug#604738: libglib2.0-dev: defined function throw away constness, causing warnings from compiler

Simon McVittie smcv at debian.org
Fri Aug 8 11:12:25 UTC 2014


forwarded 604738 https://bugzilla.gnome.org/show_bug.cgi?id=734479
tags 604738 + patch upstream
thanks

On Tue, 23 Nov 2010 at 23:32:43 +0100, Petter Reinholdtsen wrote:
> When building gnash, some compiler warning like this show up when
> building in Squeeze:
> 
>   gst/VideoInputGst.cpp:492: warning: cast from type 'const GValue*'
>     to type 'GValue*' casts away constness

I've sent this upstream, with a patch. You would probably have had
approximately 3.5 years' quicker results if you had done so yourself :-)

(Other possible resolutions include "don't use -Wcast-qual"
and "don't use const GValue *".)

    S



More information about the pkg-gnome-maintainers mailing list