Boost logo

Boost Users :

Subject: [Boost-users] numeric_cast_traits/cstdint: request for fix in boost 1.49
From: Avi Bahra (avibahra_at_[hidden])
Date: 2012-01-28 06:47:56

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.


The posted fix was to modify boost/cstdint.hpp:

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,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at