This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ PATCH: PR 13140
Gabriel Dos Reis wrote:
> 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.
Checked in, as originally posted.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304