Hi Mike, Am 21.09.12 10:00, schrieb Mike Krus: > well, you what? turning that off has fixed the issue!! Any explanation why? > is it an llvm-gcc bug?
no, it's not a bug, it's a feature :) Basically gcc's dynamic_cast compares two classes by pointer to their type_info and not by their names, so if you have the same class compiled in your app and in your lib, the dynamic_cast will fail, if visibility is set to hidden, as the linker cannot merge the two classes into one. I hope the underlying issue gets a little bit clearer, here is a ink for more info: http://osdir.com/ml/xcode-users/2010-01/msg00305.html cheers, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org