[osg-users] Mac compilation error

philippe renon philippe_renon at yahoo.fr
Sun Nov 22 13:22:00 PST 2015


Hi,
It is in 3.4.0 and in head : https://github.com/openscenegraph/osg/blob/master/include/osgViewer/View
Philippe.

 


    Le Dimanche 22 novembre 2015 13h28, michael kapelko <kornerr at gmail.com> a écrit :
 
 

 Hi.
What SVN revision is it? I can't find such a line in my r14769.

2015-11-22 17:02 GMT+07:00 philippe renon <philippe_renon at yahoo.fr>:

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.


_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151122/54a0b565/attachment-0002.htm>


More information about the osg-users mailing list