This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Anonymous Namespaces
- From: Chris Lattner <sabre at nondot dot org>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>,<gcc at gcc dot gnu dot org>, Kevin Atkinson <kevina at gnu dot org>,Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Mon, 2 Feb 2004 01:36:15 -0600 (CST)
- Subject: Re: Anonymous Namespaces
On Sun, 1 Feb 2004, Zack Weinberg wrote:
> Chris Lattner <sabre@nondot.org> writes:
> The fix is to make the C++ front end not use (TREE_PUBLIC(x) == false)
> to mean a symbol with internal linkage. Instead, a language-specific
> decl flag ought to be allocated to mean exactly 'internal linkage',
> and all local symbols ought to get TREE_PUBLIC false.
FWIW, I totally agree, and think that this is the right course of action.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/