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'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:158: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'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:170: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'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:182:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:37:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:194:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:49:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:206:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:61:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:218:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:73:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:230:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:85:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:242:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:97:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:254:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:109:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:266:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:121:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:278:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:133:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:290:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:145:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:315:12:
error: redefinition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:303:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:460:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:448:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:605:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:593:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:750:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:738:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:895:12:
error: redefinition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:883:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1040:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1028:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1185:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1173:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1330:12:
error: redefinition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1318:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1475:12:
error: redefinition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1463:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1620:12:
error: redefinition of 'struct boost::numeric::numeric_cast_traits'
./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp:1608:12:
error: previous definition of 'struct
boost::numeric::numeric_cast_traits'
I guess it cannot tell apart int8_t and char.