Boost logo

Boost :

Subject: Re: [boost] [ICL] Compile error when using "is_numeric"
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-05-27 04:58:57


2011/5/27 sguazt <marco.guazzone_at_[hidden]>:
> On Thu, May 26, 2011 at 2:48 PM, sguazt <marco.guazzone_at_[hidden]> wrote:
>> On Thu, May 26, 2011 at 2:00 PM, Joachim Faulhaber
>> <afojgo_at_[hidden]> wrote:
>>> 2011/5/26 sguazt <marco.guazzone_at_[hidden]>:
>>>> Hi,
>>>>
>>>> I've just checked-out the last SVN version of ICL and after compiling with
>>>>  gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
>>>>  (flags: -Wall -Wextra -pedantic -ansi)
>>>>
>>>> I get these errors:
>>> [..]
>>>
>>> Sorry, this was an uncareful commit ... should be fixed now.
>>>
>> Thank you so much!!
>>
>
> Hi Joachim,
>
> Here's another ;)
>
> --- [diff] ---
> --- boost/icl/open_interval.hpp (revision 72203)
> +++ boost/icl/open_interval.hpp (working copy)
> @@ -24,6 +24,7 @@
>  public:
>     typedef open_interval<DomainT,Compare> type;
>     typedef DomainT domain_type;
> +    typedef ICL_COMPARE_DOMAIN(Compare,DomainT) domain_compare;
>
>  public:
>     //==========================================================================
> --- [/diff] ---
>
> That is, you have to add a typedef for "domain_compare".
>
> Thank you very much

Done :)


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