[numeric] Errors compiling using gcc 4.6.2 on Solaris 10/SPARC
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
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
' ./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:13:12: error: previous definition of 'struct boost::numeric::numeric_cast_traits ' ...
I have added patch for this issue in the ticket: https://svn.boost.org/trac/boost/ticket/6158
participants (1)
-
Ioannis Papadopoulos