GNOME Bugzilla – Bug 701457
-Wformat errors
Last modified: 2013-06-02 17:03:03 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
Created attachment 245846 [details] [review] Fix -Wformat compiler warnings These were treated as errors with gcc 4.8 because of the use of -Werror.
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 ***