Boost logo

Boost :

Subject: Re: [boost] lambda compile error
From: Andy Venikov (avenikov_at_[hidden])
Date: 2011-03-18 18:13:40


On 03/18/2011 02:56 PM, Steven Watanabe wrote:
> AMDG
>
> On 03/18/2011 10:42 AM, Andy Venikov wrote:
>> On 03/18/2011 01:36 PM, Steven Watanabe wrote:
>>>
>>> What's the error? It works for me with msvc 10 and the trunk.
>>>
>>
>> OK, this one is rather long.
>
> Grrr. I can't reproduce this. I tried gcc 4.5.1
> with Boost 1.42, and it still compiles fine. Can
> you provide the full compiler command line?
>
>> Sorry I couldn't prune since I'm not sure what's important and what's
>> not.
>
> No problem. Unfortunately, it has everything
> except what I need, since it's missing the
> types that select returns...
>
> Can you try a couple other tests?
> a) Does it work if you use int instead of multmap?
> b) What about a simple class w/ an assignment operator?
> c) Do the individual pieces work:
> MP& r1 = var(mp1)(mp2);
> const MP& r2 = _1(mp2):
>

It's definitely got to do with our project's configuration.
I just compiled the same code outside of the project and it compiles
fine. I'll try to narrow down the issue and will post results.

Thanks,
    Andy.


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