freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pooma-dev] POOMA Namespace Pollution


From: Richard Guenther
Subject: Re: [pooma-dev] POOMA Namespace Pollution
Date: Wed, 26 Nov 2003 16:29:47 +0100 (CET)

On Wed, 26 Nov 2003, Hendrik Belitz wrote:

> Am Mittwoch, 26. November 2003 15:07 schrieben Sie:
> > You can also mark the colliding names inside the sources with namespace
> > Pooma. But I really suspect internal Pooma is not namespace clean.
>
> It doesn't seem to be. Putting the POOMA headers into a namespace won't solve
> the problem (this seem to lead to a double inclusion of some STL headers,
> resulting in a pretty large bunch of errors). Not putting POOMA into an
> namespace shows that most of the internal POOMA structures are not in the
> POOMA namespace at all (Resulting in namespace pollution).

Yes, in fact, all over the POOMA source there are commented out namespace
Pooma guards, so I think there were compiler problems some time ago. I
already put some global functions back into Pooma namespace locally, so
maybe there needs to be a point in the future we re-enable all the Pooma
namespace.

Maybe Jeffrey has some suggestions on this, as it breaks backward
compatibility.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]