> But is this warning suggesting that the "this" pointer might 
> not be fully formed by the time one gets into the initializer 
> list?  I would have thought this would not be the case, as 
> the compile must know the objects size and position in memory 
> before it starts calling
> initializers on that memory.   Or is the compiler just trying to catch
> people of dereferencing the this pointer before the parent 
> object has been constructed??

It's the latter, not the former. OcclusionQueryNode generates the same
warning. I have considered disabling it with:

  #ifdef _WIN32
  #pragma warning( disable:4355 )
  #endif

...just haven't got to it yet -- low priority, as it's a harmless warning in
this case.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to