Opened 10 years ago
Closed 10 years ago
#8255 closed Bugs (fixed)
Wave build warnings are probably errors on 64-bit
Reported by: | Owned by: | Hartmut Kaiser | |
---|---|---|---|
Milestone: | To Be Determined | Component: | wave |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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:
cd boost_1_53_0/tools/wave/build
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.
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | wave.patch added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix wave build warnings