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 478077 - eel-debug-drawing.c:367: warning: passing argument 2 of 'debug_pixbuf_viewer_set_pixbuf' discards qualifiers from pointer target type
eel-debug-drawing.c:367: warning: passing argument 2 of 'debug_pixbuf_viewer_...
Status: RESOLVED FIXED
Product: eel
Classification: Deprecated
Component: general
CVS HEAD
Other All
: Normal blocker
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-18 16:10 UTC by Olav Vitters
Modified: 2007-12-15 13:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
unbrak the build (1.67 KB, patch)
2007-10-12 21:35 UTC, Christian Kirbach
committed Details | Review

Description Olav Vitters 2007-09-18 16:10:56 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.
Comment 1 Christian Kirbach 2007-10-12 20:57:33 UTC
nope gcc (GCC) 4.2.1 (Ubuntu 4.2.1-5ubuntu4)  is also hit
Comment 2 Christian Kirbach 2007-10-12 21:35:49 UTC
Created attachment 97148 [details] [review]
unbrak the build

Change the signature of eel_debug_show_pixbuf() to unbreak the build
Comment 3 Alexander Larsson 2007-10-29 07:50:28 UTC
Looks good to commit.
Comment 4 Christian Kirbach 2007-11-13 17:31:01 UTC
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
Comment 5 Cosimo Cecchi 2007-12-15 13:29:05 UTC
Closing as FIXED.