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 618782 - Compiler warning in string templates
Compiler warning in string templates
Status: RESOLVED DUPLICATE of bug 618404
Product: vala
Classification: Core
Component: Basic Types
unspecified
Other Linux
: Normal trivial
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-16 11:54 UTC by Michael 'Mickey' Lauer
Modified: 2011-01-15 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (762 bytes, text/x-vala)
2010-05-16 11:54 UTC, Michael 'Mickey' Lauer
Details

Description Michael 'Mickey' Lauer 2010-05-16 11:54:19 UTC
Created attachment 161162 [details]
Testcase

The attached code leads to a warning which would be nice to silence:

/tmp/warn.vala.c: In function ‘readContentsOfFile’:
/tmp/warn.vala.c:73: warning: format ‘%zu’ expects type ‘size_t’, but argument 2 has type ‘__off_t’
Comment 1 geert jordaens 2010-05-23 13:47:23 UTC
Duplicate of Bug #618404  - Uses 32-bit x86 formatters for printing numeric values using printf, etc.
Comment 2 Michael 'Mickey' Lauer 2011-01-15 15:14:03 UTC

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