I've made it build by adding const to the size_t parameter, don't ask me why it works like that...
So I've managed to build OpenVRML, I am currently building OSG with the VRML plugin, if everything work, I'll post a patch for the OpenVRML sources. On Fri, Dec 5, 2008 at 4:04 PM, Simon Hammett <[EMAIL PROTECTED]>wrote: > 2008/12/5 Serge Lages <[EMAIL PROTECTED]>: > > I tried the patch but it doesn't work for Visual Studio. > > > > Anyone have an idea on how to transform a method declaration like that : > > > > float (&operator[](size_t index) throw ())[4]; > > > > In something similar but VS compliant ? > > > > If you are trying to get a pointer to member function you need the > class name in front of operator eg > > float (&AClass::operator[](size_t index) throw())[4]; > > VC7.1 compiles that, but later versions are more standards compliant. > > -- > The truth is out there. Usually in header files. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Serge Lages http://www.tharsis-software.com
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org