|
Boost Users : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-09-16 04:39:09
John Maddock wrote:
>
> >Afterwards you have to manually set BOOST_HAS_THREADS as you
> >discovered by yourself. This is because the configure script
> >discovers that POSIX threads are available by the configure
> >system doesn't set BOOST_HAS_THREADS itself. Maybe it should?
> >You should ask John Maddock about it.
>
> It's not supposed to set it - the config system will still check for
> _REENTRANT and/or _MT etc to see if the compiler is in multi-thread mode, if
> vacpp sets some other define then let me know and I'll update the config
> system.
>
The config system checks for _THREAD_SAFE in the file "compiler/vacpp.hpp"
but not in "suffix.hpp". Therefore it does work if you use the supplied
configuration but it doesn't work if you use your own config file.
It would be great if you could add this check.
Thanks, Markus
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net