|
Boost : |
Subject: [boost] Boost with ICU on AIX - Patch
From: solar_at_[hidden]
Date: 2009-03-24 04:08:19
Hi there,
while trying to get Boost 1.34.1 to work on an AIX machine, I
found a bug that still persists in 1.38.0. You might want to fix
this...
In boost/regex/icu.hpp:
314c314
< typedef std::vector<UCHAR32> vector_type;
--- > typedef std::vector<UChar32> vector_type; 318,319c318,319 < v.push_back((UCHAR32)(*i)); < ++a; --- > v.push_back((UChar32)(*i)); > ++i; It should be obvious once you look at the source environment - the UCHAR32 is probably a typo, and the ++a is copy-and-paste work. This has obviously never been test-compiled on a real machine. Surprising that this has not been caught earlier (since it's been in there since 1.33)... Anyway, with that patch (and a backport of another one on vacpp.jam that's been included in later versions of Boost), v1.34.1 compiles cleanly with ICU-support on AIX. Regards, Martin Baute
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk