Martin Spott wrote:
> "Robert Osfield" wrote:
> > I have change the hitItr to be const_iterator, and it compiles cleanly
> > for me with gcc4.0.2, could you try the attached Dragger.
>
> Thank you, that one works with SunStudio11.
.... but now I have the next one, after updating from SVN this
evening - still on Solaris/SunStudio11:
[ 45%] Building CXX object
src/osgViewer/CMakeFiles/osgViewer.dir/GraphicsWindowX11.o
"/usr/local/src/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp", line 361:
Error: The function "usleep" must have a prototype.
"/usr/local/src/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp", line 382:
Error: The function "usleep" must have a prototype.
"/usr/local/src/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp", line 1125:
Warning (Anachronism): Formal argument 1 of type extern "C"
int(*)(_XDisplay*,XErrorEvent*) in call to XSetErrorHandler(extern "C"
int(*)(_XDisplay*,XErrorEvent*)) is being passed
int(*)(_XDisplay*,XErrorEvent*).
2 Error(s) and 1 Warning(s) detected.
make[2]: *** [src/osgViewer/CMakeFiles/osgViewer.dir/GraphicsWindowX11.o] Error
2
make[1]: *** [src/osgViewer/CMakeFiles/osgViewer.dir/all] Error 2
make: *** [all] Error 2
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[EMAIL PROTECTED]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/