Boost logo

Boost :

Subject: Re: [boost] Broken unary_functions in numeric conversions
From: Gary Furnish (gfurnish_at_[hidden])
Date: 2017-08-22 14:35:51


Actually this isn't true at all: develop gets
In file included from
../../../../boost/numeric/conversion/detail/numeric_cast_traits.hpp:12:0,
                 from
../../../../boost/numeric/conversion/numeric_cast_traits.hpp:28,
                 from ../../../../boost/numeric/conversion/cast.hpp:34,
                 from compile_fail/built_in_numeric_cast_traits.cpp:11:
../../../../boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp:987:12:
error: previous definition of ‘struct
boost::numeric::numeric_cast_traits<unsigned int, float>’
     struct numeric_cast_traits
            ^~~~~~~~~~~~~~~~~~~
         <
         ~
             unsigned int
             ~~~~~~~~~~~~
           , float
           ~~~~~~~
>
         ~
compile_fail/built_in_numeric_cast_traits.cpp:24:8: error:
redefinition of ‘struct boost::numeric::numeric_cast_traits<long int,
float>’
 struct numeric_cast_traits< \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     BOOST_PP_SEQ_ELEM( BOOST_PP_TUPLE_ELEM(4,0,state) \
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      , BOOST_PP_TUPLE_ELEM(4,3,state) ) \
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   , BOOST_PP_TUPLE_ELEM(4,2,state)>

and a bunch more spam.

On Tue, Aug 22, 2017 at 8:32 AM, Gary Furnish <gfurnish_at_[hidden]> wrote:
> Is there a problem with just merging dev? That seems to work...
>
> On Tue, Aug 22, 2017 at 8:25 AM, Brandon Kohn via Boost
> <boost_at_[hidden]> wrote:
>> On 8/20/2017 17:05 PM, Gary Furnish via Boost wrote:
>>>
>>> SHA-1: 2009f0d4fc49a6db59b950a3140f8d1f58e1a8c6
>>
>> Can we get someone to actually recommit a fix?
>>
>> I'm working on this now. Sorry for the delay in responding.
>>
>> Cheers,
>>
>> Brandon
>>
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk