------- Comment #5 from mark at codesourcery dot com 2007-03-23 02:44 ------- Subject: Re: [4.2/4.3 regression] extern declaration of variable in anonymous namespace prevents use of its address as template argument
bangerth at dealii dot org wrote: > ------- Comment #4 from bangerth at dealii dot org 2007-03-23 02:37 ------- > Without wanting to be a distractor, but can variables of a type that > was declared in an anonymous namespace really have external linkage? That's not the case here; the class is in the global namespace. Only the variable is in the anonymous namespace, and entities in anonymous namespaces do have external linkage. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31187