Subject: [Boost-bugs] [Boost C++ Libraries] #8255: Wave build warnings are probably errors on 64-bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-06 17:25:59
#8255: Wave build warnings are probably errors on 64-bit
--------------------------------+-------------------------------------------
Reporter: chris0@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
Version: Boost 1.53.0 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
Building Boost (1.53.0) Wave for i386 on OSX 10.8.2 with GCC 4.2.1
produces several very long warning messages (~26KB).
Having looked into this, these warnings appear to indicate programming
'''errors''' if building for 64-bit (LP64) targets.
I built wave with:[[BR]]
cd boost_1_53_0/tools/wave/build[[BR]]
b2 variant=debug
The attached patch fixes these warning & should correct the LP64 errors.
However, a better fix may be to change the 'line' & 'column' data members
& associated accessor functions of struct file_position in
boost/wave/util/file_position.hpp from size_t (64-bit on LP64) to uint32_t
(or equivalent). (I think 32-bits is plenty big enough.) But that
decision I leave to the library owner.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8255> 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:12 UTC