> Line 4:
>          U OpenThreads::Atomic::operator--()  display.cpp:0
> 
> Tells that the symbol is referenced from dispay.cpp.
> This is one of the offending symbols. Find out why this 
> display.cpp is compiled with this code non inline?

There seems to be some problem during the preprocessor step when compiling.
The following change in include/OpenThreads/Atomic makes my code compile and 
link:

Changing:
#if defined(_OPENTHREADS_ATOMIC_USE_LIBRARY_ROUTINES)
#define _OPENTHREADS_ATOMIC_INLINE
#else
#define _OPENTHREADS_ATOMIC_INLINE inline
#endif

Into:
#ifndef _OPENTHREADS_ATOMIC_USE_LIBRARY_ROUTINES
#define _OPENTHREADS_ATOMIC_INLINE inline
#else
#define _OPENTHREADS_ATOMIC_INLINE
#endif


/Björn


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to