[Boost-bugs] [Boost C++ Libraries] #6158: Compilation error in numeric using gcc 4.6.1 on Solaris/SPARC

Subject: [Boost-bugs] [Boost C++ Libraries] #6158: Compilation error in numeric using gcc 4.6.1 on Solaris/SPARC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-22 00:05:34


#6158: Compilation error in numeric using gcc 4.6.1 on Solaris/SPARC
----------------------------------------------------------+-----------------
 Reporter: Ioannis Papadopoulos <ipapadop@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: numeric
  Version: Boost 1.48.0 | Severity: Showstopper
 Keywords: solaris numeric gcc |
----------------------------------------------------------+-----------------
 I am getting the following errors on Solaris 10 (SPARC) using gcc 4.6.1:


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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6158>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC