
28 Jan
2012
28 Jan
'12
11:47 a.m.
Currently HPUX/acc compiler fails in boost 1.48, because boost::int8_t was being interpreted as a char, This causes duplicate class definition in the file ./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp and hence many of compiled boost libs fail. See:: https://svn.boost.org/trac/boost/attachment/ticket/6158/cstdint_patch.diff The posted fix was to modify boost/cstdint.hpp: 103c103,107 2 < using ::int8_t; 3 --- 4 > #if defined(sun) || defined(__sun) 5 > typedef signed char int8_t; 6 > #else 7 > using ::int8_t; 8 > #endif Can I request a similar fix be added for the HPUX/acc compiler in the next boost version. Best regards, Ta, Avi