This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] partial fix for PR 13594 (3.4 regression)


On Jan 12, 2004, Alexandre Oliva <aoliva@redhat.com> wrote:

> On Jan 12, 2004, Alexandre Oliva <aoliva@redhat.com> wrote:
>> On Jan 10, 2004, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
>>> FAIL: 23_containers/bitset/invalidation/1.cc (test for excess errors)
>>> WARNING: 23_containers/bitset/invalidation/1.cc compilation failed to produce 
>>> executable

>> Here's a patch that fixes this problem.  My mistake was to assume that
>> it was ok to use a single queue for strongly-associated and other
>> namespaces.  Now I see it isn't.

> Digging deeper, I see that it should be.  See, for example,
> [namespace.udir]/5.  It doesn't seem like a name found in a given
> namespace is to hide names found in other namespaces whose
> declarations are to be visible in it because of using directives.

I misread.  That is for unqualified lookup, but when we call the
patched function, we're doing qualified lookup.  Nevermind, I now
believe the patch I posted earlier today actually fixes the problem at
hand properly.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]