Boost logo

Boost :

Subject: Re: [boost] [fusion] for_each on gcc 4.7
From: Joel de Guzman (joel_at_[hidden])
Date: 2012-06-24 19:00:17


On 6/25/2012 12:30 AM, Mathias Gaunard wrote:
> On 06/21/2012 08:33 AM, Joel de Guzman wrote:
>
>> No, that is not a proper fix. It just bypasses the problem, which seems
>> to be
>> a gcc 4.7 problem.
>
> GCC 4.7 is known to implement strict name lookup, unlike many compilers.
>
> If something breaks with GCC 4.7, it's a sign that the code wasn't standard-compliant,
> even if it worked with many other compilers before.

I am aware of that. But in this particular case, I can't see any problem
with the code. Can you? Did you try the test code the OP attached?

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

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