C compile time

Chris Lattner sabre@nondot.org
Wed Jun 18 18:08:00 GMT 2003


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/



More information about the Gcc mailing list