This is the mail archive of the gcc@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 compile time


On Wed, 18 Jun 2003, Jan Hubicka wrote:

> > How much of this is because anonymous namespaces are not marking their
> > contents as static?  In C++, static functions are deprecated...

> No idea.
> How does the implementation of anonoumous namespaces work?  I didn't
> know these are actually not marked as static...

Last time I checked, mainline was just giving names in an anonymous
namespace horrible "unique" names, but not marking them static.  There was
some discussion of possible interaction with the export feature of C++,
but GCC does not support that feature and if it ever does, it will be a
long time off.

>From what I can tell, there should be no problem marking members of an
anonymous namespace as static in current GCC...

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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