RTLD_GLOBAL again (was Re: kdeutils/kregexpeditor/test)
Lubos Lunak
l.lunak at sh.cvut.cz
Sat Apr 20 00:46:39 BST 2002
On Saturday 20 April 2002 01:38, Neil Stevens wrote:
[snip]
> > will crash - they will be asking for it after all. And using namespaces
> > is not that hard, just putting almost everything in .h and .cpp files in
> > 'namespace Foo { ... }' and it's done (oh, and in case uic still can't
> > handle namespaces, fixing it too).
>
> But how do you ensure that two modules don't use the same namespace? Seems
> to me that using namespaces might just reduce the probability of a clash,
> rather than eliminate clashes.
Most probably the same way we ensure there aren't two modules using the same
.so name. Namespace aliases or the 'using' keyword will come handy of course.
--
Lubos Lunak
llunak at suse.cz ; l.lunak at kde.org
http://dforce.sh.cvut.cz/~seli
More information about the kde-core-devel
mailing list