Hi James, Your suggested fix is correct, this fix had actually been applied already to master but I had missed backporting to the OpenSceneGraph-3.4 branch. I have just update 3.4 branch to have this fix.
As to why others haven't reported it, I can only guess the number of users using the 3.4 branch and OSX with XCode 7 is small. The 3.4 build was actually working just fine with this error on my Linux system (Kubuntu 15.10 + Clang 3.6), I presume because there was no code paths that attempted to use the problem template method. Robert, On 21 January 2016 at 00:18, James Turner <[email protected]> wrote: > Hi, > > With XCode 7 (Apple LLVM version 7.0.2 (clang-700.1.81)) I’m getting a > compile failure in osgViewer/View, line 130: it looks like the template is > wrong, currently: > > template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { > setImagePager(ip.get()); } > > when it should be: (I guess) > > template<class T> void setImagePager(const osg::ref_ptr<T>& ip) { > setImagePager(ip.get()); } > > Can anyone else confirm this? I’m surprised no one else is experiencing this. > > Kind regards, > James > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

