On Wed, Jan 10, 2007 at 02:17:34PM +0000, Bastiaan Jacques wrote:
> -namespace {
> -gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
> +namespace gnash {
> +LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
> }
The "anonymous" namespace approach seems to be a C++ style
of module-statics. If you use 'gnash' namespace, you then need
to make it static or might eventually clash with other 'dbglogfile'
symbols in other modules. I'm for keeping the anonymous namespace
instead.
--strk;
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit