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 701457 - -Wformat errors
-Wformat errors
Status: RESOLVED DUPLICATE of bug 701381
Product: gnome-disk-utility
Classification: Core
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-02 10:37 UTC by Kalev Lember
Modified: 2013-06-02 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix -Wformat compiler warnings (3.08 KB, patch)
2013-06-02 10:38 UTC, Kalev Lember
none Details | Review

Description Kalev Lember 2013-06-02 10:37:53 UTC
with gcc 4.8, g-d-u has several -Wformat compiler warnings that are treated as errors because of the use of -Werror.

gducreatediskimagedialog.c: In function 'copy_span':
gducreatediskimagedialog.c:615:23: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'gsize' [-Werror=format=]
                       offset);
                       ^
cc1: some warnings being treated as errors
Comment 1 Kalev Lember 2013-06-02 10:38:28 UTC
Created attachment 245846 [details] [review]
Fix -Wformat compiler warnings

These were treated as errors with gcc 4.8 because of the use of -Werror.
Comment 2 David Zeuthen (not reading bugmail) 2013-06-02 17:03:03 UTC
I ended up taking the patch from bug 701381 as it covered a couple of other cases too.

Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 701381 ***