This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to warn about undefined functions in anonymous namespace
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Jason Merrill <jason at redhat dot com>, Andrew Sutton <andrew dot n dot sutton at gmail dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Jun 2013 10:53:48 -0500
- Subject: Re: C++ PATCH to warn about undefined functions in anonymous namespace
- References: <51B62AFE dot 4000809 at redhat dot com>
On Mon, Jun 10, 2013 at 2:37 PM, Jason Merrill <jason@redhat.com> wrote:
> Since members of the anonymous namespace can't be defined in another
> translation unit, we should treat them like statics for diagnostic purposes.
>
> Tested x86_64-pc-linux-gnu, applying to trunk.
Thank you!
-- Gaby