[osg-users] OpenSceneGraph-2.1.13 dev version released

Robert Osfield robert.osfield at gmail.com
Mon Oct 1 04:55:46 PDT 2007


Hi Martin,

Thanks for the report.  I've just double checked and pthread_yield()
is just a void so I've changed the code to reflect this and should now
compile just fine.  This fix is now checked into OpenThreads SVN.

Robert.

On 10/1/07, Martin Spott <Martin.Spott at mgras.net> wrote:
> "Robert Osfield" wrote:
>
> > Please test on as many platforms as you can lay your hands on and
> > provide positive negative feedback.
>
> Just an informal note, FreeBSD-6.2, GCC 3.4.6:
>
> /usr/local/bin/cmake -H/usr/local/src/OpenSceneGraph -B/usr/local/src/OpenSceneGraph --check-build-system CMakeFiles/Makefile.cmake 0
> /usr/local/bin/cmake -E cmake_progress_start /usr/local/src/OpenSceneGraph/CMakeFiles 100
> make -f CMakeFiles/Makefile2 all
> make -f src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/build.make src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/depend
> make -f src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/build.make src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/build
> /usr/local/bin/cmake -E cmake_progress_report /usr/local/src/OpenSceneGraph/CMakeFiles
> [  0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThread.o
> /usr/bin/g++  -O3 -march=pentiumpro  -DOpenThreads_EXPORTS   -fPIC -I/usr/local/src/OpenSceneGraph/include -I/usr/local/include   -DOPENTHREADS_EXPORTS -DHAVE_PTHREAD_YIELD -DHAVE_PTHREAD_SETCONCURRENCY -DHAVE_PTHREAD_GETCONCURRENCY -o src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThread.o -c /usr/local/src/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++
> /usr/local/src/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++: In static member function `static int OpenThreads::Thread::YieldCurrentThread()':
> /usr/local/src/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:903: error: void value not ignored as it ought to be
> *** Error code 1
>
>
>         Martin.
> --
>  Unix _IS_ user friendly - it's just selective about who its friends are !
> --------------------------------------------------------------------------
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list