Subject: Re: [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-12-20 13:57:03
#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
Resolution: | Keywords: solaris numeric gcc
-----------------------------------------------------------+----------------
Comment (by tsandnes@â¦):
I am seeing the same thing on windows 7, mscv100.
The error is slightly different:
error C2766: explicit specialization;
'boost::numeric::numeric_cast_traits<char,uint64_t>' has already been
defined
C:\svn\Backend\third_party\win32_vc100\include\boost\numeric\conversion\detail\preprocessed\numeric_cast_traits.hpp
263
Changing from
using::int8_t to typedef signed char int8_t; as in the patch for solaris
solves the problem here as well.
Maybe the patch should be modified to change this for windows7/msvc100
too?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6158#comment:1> 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:08 UTC