From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gianni Mariani To: Alexandre Oliva Cc: "gcc@gcc.gnu.org" Subject: Re: const static initializers versionitis Date: Wed, 23 Aug 2000 10:12:00 -0000 Message-id: <39A405FC.FEE01040@mariani.ws> References: <200008221512.IAA02303@uluru.mariani.ws> <39A2A49E.E6CD5246@mariani.ws> <39A2BF86.1022B2A0@mariani.ws> <39A3EED7.9B95E027@mariani.ws> X-SW-Source: 2000-08/msg00472.html OK - that works. Thanks. Alexandre Oliva wrote: > On Aug 23, 2000, Gianni Mariani wrote: > > > I don't know how to "export" a symbol from an anonymous > > namespace. > > An anonymous namespace is implicitly `using'ed :-P by the enclosing > namespace. > > > $ g++ -c yy.cpp > > yy.cpp:20: parse error before `(' > > Move the function definition out of the namespace. > > -- > Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ > Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} > CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} > Free Software Evangelist *Please* write to mailing lists, not to me