<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div>Hi Robert,</div><div><br></div><div id="yui_3_16_0_1_1448019295360_45377">That's what I figured :)</div><div id="yui_3_16_0_1_1448019295360_45376"><br></div><div id="yui_3_16_0_1_1448019295360_45375">Are you going to fix it directly or should I submit the fix ?</div><div id="yui_3_16_0_1_1448019295360_45374"><br></div><div id="yui_3_16_0_1_1448019295360_45373">Philippe.<br></div><div id="yui_3_16_0_1_1448019295360_45372"><span></span></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: lucida console, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Le Lundi 23 novembre 2015 9h45, Robert Osfield <robert.osfield@gmail.com> a écrit :<br></font></div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container"><div id="yiv6400028903"><div><div dir="ltr"><div><div>Hi Philippe,<br clear="none"><br clear="none"></div>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.<br clear="none"><br clear="none"></div>Robert.<br clear="none"></div><div class="yiv6400028903gmail_extra"><br clear="none"><div class="yiv6400028903gmail_quote">On 22 November 2015 at 10:02, philippe renon <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:philippe_renon@yahoo.fr" target="_blank" href="mailto:philippe_renon@yahoo.fr">philippe_renon@yahoo.fr</a>></span> wrote:<br clear="none"><blockquote class="yiv6400028903gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv6400028903yqt9082339224" id="yiv6400028903yqt82379"><div><div style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:13px;"><div dir="ltr">Hi,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">The include/osgViewer/View include has that suspicious line:<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"> template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { setImagePager(ip.get()); }</div><div dir="ltr"><br clear="none"></div><div dir="ltr">which fails to compile on mac with :</div><div><pre> member reference base type 'const osg::ref_ptr<T> *' is not a structure or union</pre></div><div dir="ltr"><br clear="none"></div><div dir="ltr">This pattern using osg::ref_ptr is used in many places but that suspicious line is only one with pointer instead of reference.</div><span class="yiv6400028903HOEnZb"><font color="#888888"></font></span><div dir="ltr"><br clear="none"></div><div dir="ltr">Philippe.<br clear="none"></div><div><br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
osg-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:osg-users@lists.openscenegraph.org" target="_blank" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </blockquote> </div> </div> </div></div></body></html>