Subject: [Boost-bugs] [Boost C++ Libraries] #3656: Disable GCC warnings about printf formatter and type mismatch
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-21 17:13:20
#3656: Disable GCC warnings about printf formatter and type mismatch
------------------------------------------+---------------------------------
Reporter: mloskot <mateusz@â¦> | Owner: grafik
Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: bjam
Version: Boost Development Trunk | Severity: Cosmetic
Keywords: |
------------------------------------------+---------------------------------
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3656> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC