Hi all,
I'm compiling OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off
because our own software can interchangeably use OSG 2.2, 2.6 and
(eventually) 2.10, so I need to be sure everywhere a ref_ptr is used,
.get() or .valid() is used to get it or check it.
Unfortunately, even OSG itself doesn't compile cleanly with
OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off right now. (I'll submit
some changed files soon to fix that)
So I was wondering if the policy was that code inside OSG should
continue to use .get() and .valid() so that it continues to build
cleanly whether OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is on or off,
or if we should just phase out the
OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION option altogether (always
keep it on, not expose it in CMake).
I think whatever policy is chosen within OSG, it should be made clear.
Client code could do what it wants and it's the client's responsibility
to make sure they're using the right thing with respect to the version
of OSG they link to, but within OSG, we need to pick one.
Thanks in advance,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org