[osg-users] Mac compilation error

philippe renon philippe_renon at yahoo.fr
Mon Nov 23 02:04:52 PST 2015


Just saw that a fix was pushed. Thanks !
 


    Le Lundi 23 novembre 2015 11h03, philippe renon <philippe_renon at yahoo.fr> a écrit :
 
 

 Hi Robert,
That's what I figured :)
Are you going to fix it directly or should I submit the fix ?
Philippe.
 


    Le Lundi 23 novembre 2015 9h45, Robert Osfield <robert.osfield at gmail.com> a écrit :
 
 

 Hi Philippe,

This is a bug, it should be a reference - I must have made a copy and paste error when adapting the line to use the template ref_ptr interface.

Robert.

On 22 November 2015 at 10:02, philippe renon <philippe_renon at yahoo.fr> wrote:

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/20151123/61272c54/attachment-0003.htm>


More information about the osg-users mailing list