Hello Robert,

> The osgWrapper issue looks like a compiler bug.  Any chance you could
> upgrade?

To me it just seems like you need a space when you have a template class as a
parameter to another template class... In this case, this is a snippet of the
specific code which generates the error:

#define I_PublicMemberProperty(t, n) \
    /* ... */
    extended_typeid<t>
    /* ... */

// Which is called like so:
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);

So the fix would simply be to change that to:

#define I_PublicMemberProperty(t, n) \
    /* ... */
    extended_typeid< t >
    /* ... */

Which seems to be what is used in the rest of that macro anyways...

I was under the impression this was a problem with other compilers too, but even
if it's just VS2003, I would suggest you just add a space as it's a pretty
common version, even now that VS2005 Express exists...

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