Hi Martin, On 6/5/07, Martin Spott <[EMAIL PROTECTED]> wrote:
Hi, apparently one of the recent changes makes the SunStudio compiler unhappy.
:-(
I was unable to follow development closely for more than one week (we were exhibiting on LinuxTag)
Hey, hey, hows about a little news report for us less lucky souls :-)
so I'm pretty uncertain when this change was introduced. Please see the compiler log ("hides the virtual function"-Warnings removed): make -f src/osgManipulator/CMakeFiles/osgManipulator.dir/build.make src/osgManipulator/CMakeFiles/osgManipulator.dir/build make[2]: Entering directory `/usr/local/src/OpenSceneGraph' /usr/local/bin/cmake -E cmake_progress_report /usr/local/src/OpenSceneGraph/CMakeFiles 29 [ 30%] Building CXX object src/osgManipulator/CMakeFiles/osgManipulator.dir/CommandManager.o /opt/SUNWspro/bin/CC -xO3 -xtarget=ultra2 -xautopar -xprefetch=auto -DosgManipulator_EXPORTS -KPIC -I/usr/local/src/OpenSceneGraph/include -DOSGMANIPULATOR_LIBRARY -o src/osgManipulator/CMakeFiles/osgManipulator.dir/CommandManager.o -c /usr/local/src/OpenSceneGraph/src/osgManipulator/CommandManager.cpp "/usr/local/src/OpenSceneGraph/include/osg/StateAttribute", line 186: Warning: Identifier expected instead of "}".
An extra comma snuck in yesterday when I introduce osg::Hint StateAttribute. Now removed and checked in.
"/usr/local/src/OpenSceneGraph/include/osgManipulator/Dragger", line 55: Error: The operation "const std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::iterator == std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::const_iterator" is illegal. 1 Error(s) and 45 Warning(s) detected. make[2]: *** [src/osgManipulator/CMakeFiles/osgManipulator.dir/CommandManager.o] Error 1
I have removed the const at the end of the completed() method, osgManipulator still compiles fine at my end, and hopefully will be fixed at yours too. Could you do an svn update and let me know how you get on. Cheers, Robert. _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/