Boost logo

Boost :

Subject: Re: [boost] [lexical_cast][random] ADL problem with gcc c++11
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-03-25 11:08:28


On Mar 25, 2012, at 6:25 AM, Mathias Gaunard wrote:

> On 20/03/12 00:22, Marshall Clow wrote:
>
>> Very strange.
>> I pasted your code into a file, and tried it on my Mac.
>> I used trunk and release branches, gcc 4.2.1 and clang (from svn).
>
> The bug only appears when the compiler is very strict about name lookups in template contexts.
>
> GCC 4.6+ is stricter than 4.2.

Yes, and clang is (usually) stricter than gcc.

> This particular bug is a missing include, which may be windows-specific.

That would explain why I didn't see it.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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