Hi Tony, I don't need an explanation, I need the actual warnings generated. Please just copy the output to a file and post it.
Thanks, Robert. On Tue, Jan 27, 2009 at 6:13 PM, Tony Horrobin <[email protected]> wrote: > Hi Robert, > > The Windows warnings are caused by having const references but not declaring > the copy/assignment private. I think a load of these had been fixed recently. > > Under Linux, an example would be: > > In file included from osgal/examples/osgalocclude/osgalocclude.cpp:43: > include/osgViewer/ViewerEventHandlers: In copy constructor > 'osgViewer::InteractiveImageHandler::InteractiveImageHandler(const > osgViewer::InteractiveImageHandler&, const osg::CopyOp&)': > include/osgViewer/ViewerEventHandlers:393: warning: base class 'class > osg::Object' should be explicitly initialised in the copy constructor > > From a simple test case, it appears that the default constructor is called > instead. > > The flags used were: > > -Wall -Wextra -Wno-unused-parameter > > Cheers, > > -Tony > > > Robert Osfield wrote: >> Hi Tony, >> >> Could you send me the warnings, as I and others can't do anything >> about unless we know where they are and what is causing them. >> >> Robert. >> >> On Tue, Jan 27, 2009 at 5:07 PM, Tony Horrobin >> <> wrote: >> >> > Hi, >> > >> > Windows Vista 32Bit >> > Geforce 8600M with NVIDIA notebook beta drivers >> > Intel Core 2 >> > Visual Studio 2008 SP1 Express >> > >> > Built OK, with some mutterings about 'cannot generate assignment >> > operator', but I think we already touched on that one. >> > >> > Ubuntu 8.04 32Bit >> > Linux 2.6.23.14 >> > GeForce 8800GTS >> > Intel Core 2 >> > >> > Builds OK. I turned on -Wextra and this causes warnings of the form >> > 'class X should be explicitly initialised' in various copy constructors. >> > >> > >> > Robert Osfield wrote: >> > >> > > Hi All, >> > > >> > > I would like to finish this week with a 2.7.9 dev release, could users >> > > do a check out of svn/trunk and let know if your build succeeds/or >> > > where it fails. >> > > >> > > Thanks, >> > > Robert. >> > > _______________________________________________ >> > > osg-users mailing list >> > > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > >> > > ------------------ >> > > Post generated by Mail2Forum >> > > >> > >> > >> > ------------------ >> > Read this topic online here: >> > http://osgforum.tevs.eu/viewtopic.php?p=5286#5286 >> > >> > >> > >> > >> > >> > _______________________________________________ >> > osg-users mailing list >> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >> > >> _______________________________________________ >> osg-users mailing list >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> ------------------ >> Post generated by Mail2Forum > > > ------------------ > Read this topic online here: > http://osgforum.tevs.eu/viewtopic.php?p=5293#5293 > > > > > > _______________________________________________ > 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

