[osg-users] Mac compilation error
philippe renon
philippe_renon at yahoo.fr
Sun Nov 22 02:02:54 PST 2015
Hi,
The include/osgViewer/View include has that suspicious line:
template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { setImagePager(ip.get()); }
which fails to compile on mac with : member reference base type 'const osg::ref_ptr<T> *' is not a structure or union
This pattern using osg::ref_ptr is used in many places but that suspicious line is only one with pointer instead of reference.
Philippe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151122/0971ac48/attachment-0001.htm>
More information about the osg-users
mailing list