[pooma-dev] POOMA Namespace Pollution
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Wed Nov 26 14:07:15 UTC 2003
On Wed, 26 Nov 2003, Hendrik Belitz wrote:
> Hi there!
>
> I want to use POOMA inside my project. But POOMA defines some structs with
> names that collide with other libraries I use. Is there an simple way to
> create a seperate namespace for the POOMA lib?
namespace Pooma {
#include "Pooma/Pooma.h"
...
}
but maybe you need to change the namespace name to something else than
Pooma, as I dont know, if Pooma::Pooma::XXX works.
You can also mark the colliding names inside the sources with namespace
Pooma. But I really suspect internal Pooma is not namespace clean.
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
More information about the pooma-dev
mailing list