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.

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net