Re: [google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Paolo Carlini
On 05/02/2011 05:19 PM, Paolo Carlini wrote: template struct base { void bar(T) { } }; template struct derived : base { void foo(T t) { bar(t); } }; template class derived; Gosh, c++/24163 Paolo.

Re: [google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Paolo Carlini
On 05/02/2011 04:58 PM, Paolo Carlini wrote: Why nobody noticed so far? Is there a latent C++ front-end bug? Please double check (the last time, I took care of filing the corresponding C++ front-end issue) -- Jason, is it known that we accept the below? Paolo. // template

Re: [google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Paolo Carlini
On 05/02/2011 04:52 PM, Ollie Wild wrote: Submitted to google/main. Adding libstd...@gcc.gnu.org for trunk approval. This is Ok for mainline and 4_6-branch. Why nobody noticed so far? Is there a latent C++ front-end bug? Please double check (the last time, I took care of filing the correspond

Re: [google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Ollie Wild
Submitted to google/main. Adding libstd...@gcc.gnu.org for trunk approval. Ollie On Mon, May 2, 2011 at 9:34 AM, Ollie Wild wrote: > > commit 99835abc5d2a7fd3ae0950c8a16fd6d223d408c9 > Author: Ollie Wild > Date:   Fri Apr 29 13:03:57 2011 -0400 > >    Remove unqualified lookups into dependent

Re: [google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Diego Novillo
On Mon, May 2, 2011 at 10:34, Ollie Wild wrote: > 2011-05-02  Ollie Wild   > >        * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct): >        Fix unqualified lookup. >        (__sso_string_base<>::_M_construct): Likewise. >        (__sso_string_base<>::_M_construct): Likewis

[google] Remove unqualified lookups which break clang (issue4439085)

2011-05-02 Thread Ollie Wild
commit 99835abc5d2a7fd3ae0950c8a16fd6d223d408c9 Author: Ollie Wild Date: Fri Apr 29 13:03:57 2011 -0400 Remove unqualified lookups into dependent template base classes from STL headers. These break clang. See http://clang.llvm.org/compatibility.html#dep_lookup_bases. To b