Boost logo

Boost Users :

Subject: Re: [Boost-users] [numeric] Errors compiling using gcc 4.6.2 on Solaris 10/SPARC
From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2011-11-29 14:28:26


On 11/17/2011 11:59 PM, Ioannis Papadopoulos wrote:
> Hi,
>
> I'm compiling Boost 1.48 on Solaris 10/gcc 4.6.2 for 32-bit and I use
> the following in my project-config.jam (it doesn't compile otherwise):
>
> using gcc : : :<compileflags>-mcpu=v9<linkflags>-mcpu=v9 ;
>
> I am getting the following errors in numeric:
>
> ./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:25:12:
> error: redefinition of 'struct boost::numeric::numeric_cast_traits<char,
> char>'
> ./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:13:12:
> error: previous definition of 'struct
> boost::numeric::numeric_cast_traits<char, char>'
> ...

I have added patch for this issue in the ticket:
https://svn.boost.org/trac/boost/ticket/6158


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