Boost logo

Boost :

Subject: Re: [boost] [hash][msvc 8.0]<boost/functional/hash/detail/float_functions.hpp> issuing a using namespace std directive?
From: joaquin_at_[hidden]
Date: 2009-06-18 03:27:41


Daniel Hulme escribió:
> On Wed, Jun 17, 2009 at 09:53:02PM +0200, JOAQUIN M. LOPEZ MUÑOZ wrote:
>
>> If I compile the following wih MSVC++ 8.0:
>>
> [...]
>
>> compilation succeeds! Somehow, <boost/functional/hash/detail/float_functions.hpp>
>> is importing namespace std into the global namespace,
>> presumably with a using directive.
>>
>
> Yeah, I've tripped over this MSVC bug as well. 'using namespace' in
> namespace scope 'leaks' out into file scope. It's pretty annoying
> because it still occurs over header file boundaries. The bug is still
> present in VC9, I believe, but I haven't tried 10 yet. (Microsoft knows
> it exists but declines to fix it in old compilers.)
>

Hi Daniel. Is this officially reported? Do you know if there's some bug
ID or URL we can
track?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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