GNOME Bugzilla – Bug 478077
eel-debug-drawing.c:367: warning: passing argument 2 of 'debug_pixbuf_viewer_set_pixbuf' discards qualifiers from pointer target type
Last modified: 2007-12-15 13:29:05 UTC
The treat warning as errors causes the following build breakage: cc1: warnings being treated as errors eel-debug-drawing.c: In function 'eel_debug_show_pixbuf': eel-debug-drawing.c:367: warning: passing argument 2 of 'debug_pixbuf_viewer_set_pixbuf' discards qualifiers from pointer target type Could be a compiler bug due to: gcc (GCC) 4.2.2 20070909 (prerelease) this on x86_64.
nope gcc (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4) is also hit
Created attachment 97148 [details] [review] unbrak the build Change the signature of eel_debug_show_pixbuf() to unbreak the build
Looks good to commit.
sorry for the delay committed to trunk * eel/eel-debug-drawing.c: * eel/eel-debug-drawing.h: (eel_debug_show_pixbuf): unconstify parameter 1 to unbreak the build on gcc 4.2
Closing as FIXED.