I think that a better solution would be to not define BOOST_HAS_THREADS
unconditionally for GCC, and rely on _MT, _REENTRANT, _POSIX_THREADS.
_MT and _REENTRANT yes, _POSIX_THREADS in general no (most platforms define
this unconditionally). I've reverted the bsd.hpp config header back the way
Don't know about other *BSD-s but GCC on OpenBSD GCC defines
_POSIX_THREADS=1 when the -pthread is used. Here are the details...
OK thanks, then I've disabled threading support in bsd.hpp when
_POSIX_THREADS is not defined, let me know if this fixes things.
Thanks,
John Maddock
From: John Maddock [EMAIL PROTECTED]
Don't know about other *BSD-s but GCC on OpenBSD GCC defines
_POSIX_THREADS=1 when the -pthread is used. Here are the details...
OK thanks, then I've disabled threading support in bsd.hpp when
_POSIX_THREADS is not defined, let me know if this fixes
I think I may be the one who broke a lot of the OpenBSD regression tests by
defining BOOST_HAS_PTHREADS in the OpenBSD platform configuration. IMO this
is correct (OpenBSD supports pthreads right?), but it causes a problem:
currently the gcc config unconditionally defines BOOST_HAS_THREADS,
John Maddock said:
I think I may be the one who broke a lot of the OpenBSD regression tests
by defining BOOST_HAS_PTHREADS in the OpenBSD platform configuration.
IMO this is correct (OpenBSD supports pthreads right?), but it causes a
problem: currently the gcc config unconditionally defines
William E. Kempf [EMAIL PROTECTED] writes:
John Maddock said:
I think I may be the one who broke a lot of the OpenBSD regression tests
by defining BOOST_HAS_PTHREADS in the OpenBSD platform configuration.
IMO this is correct (OpenBSD supports pthreads right?), but it causes a
problem:
David Abrahams said:
William E. Kempf [EMAIL PROTECTED] writes:
John Maddock said:
I think I may be the one who broke a lot of the OpenBSD regression
tests by defining BOOST_HAS_PTHREADS in the OpenBSD platform
configuration. IMO this is correct (OpenBSD supports pthreads
right?), but it
[2003-01-23] William E. Kempf wrote:
I think I may be the one who broke a lot of the OpenBSD regression tests
by defining BOOST_HAS_PTHREADS in the OpenBSD platform configuration.
IMO this is correct (OpenBSD supports pthreads right?),
Yes it does... with the -pthread flag.
but it causes a