Opened 13 years ago
Closed 13 years ago
#3656 closed Patches (fixed)
Disable GCC warnings about printf formatter and type mismatch
Reported by: | Owned by: | René Rivera | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | bjam |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
When building bjam using GCC 4.3.3 on Linux (32-bit), it throws the following two warnings:
hash.c: In function ‘hashstat’: hash.c:458: warning: format ‘%ld’ expects type ‘long int’, but argument 7 has type ‘int’ hcache.c: In function ‘write_netstring’: hcache.c:169: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’
Patch fixing the warnings attached.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | bjam-gcc-printf-warning-cleanup.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch cleaning warnings reported in this ticket