This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: C++ PATCH: PR 13140


Mark Mitchell <mark@codesourcery.com> writes:

| This patch tightens up error checking in G++.  In particular, we now
| catch cases where a member is defined in a namespace that does not
| enclose the class in whch it was declared, or cases where a template
| is explicitly instantiated in a namespace that does not enclose the
| namespace where it was declared, and we catch an explicit
| specialization case that we didn't catch before. 
| 
| I'm planning to apply this to 4.1 (it's not a regression).  However,
| this patch did catch a bug in the libstdc++ testsuite_character.h
| file (see below), so I'm going to wait 24 hours before check-in, in
| case the libstdc++ people object. 

The libstdc++ change is OK.

Thanks!

-- Gaby


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