Hello Robert,

> Thanks for the data point Paul.  I've just done a clean build of the
> osgManipulator wrapper and it builds cleanly with gcc 4.02.  The error
> is pretty hard to decode as there is templates and macro's flying
> around.  I don't get the error so I can't even tweak and test.

It's actually pretty simple. The error is here:

Dragger::PointerInfo::PointerInfo():
    pixel_x(0),
    pixel_y(0),
    sv(0),
    hitIter(0)
{
}

In this code, the hitIter is being initialized with an integer. The error says
it can't convert an int to an iterator (the type it expects as parameter 1 of
an iterator's constructor).

You can just initialize it with the default constructor ( hitIter() ) because
anyways, there is no hitList to point to... Thus, changing the code to:

Dragger::PointerInfo::PointerInfo():
    pixel_x(0),
    pixel_y(0),
    sv(0),
    hitIter()
{
}

makes it compile. Sure it may be seen as an idiosyncrasy of the Visual C++ 2005
compiler, but since the iterator points nowhere valid anyways, why initialize
it to the beginning (of what?).

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to