Hi Robert,
"Robert Osfield" wrote:
> On 4/13/07, Martin Spott <[EMAIL PROTECTED]> wrote:
> > 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
>
> Is this a new Sun compiler set? It seems to be raising errors on code
> that's been built on Solaris before.
No, the build environment was completely unchanged. Yet I noticed a
change in FraphicsWindowX11.cpp during an SVN update that day and I
guessed the Error was related to that change. Now SVN 6500 compiles
on my Solaris box without a single error,
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/