|
Boost Users : |
From: Quantum Skyline (quantum.skyline_at_[hidden])
Date: 2006-02-13 21:34:49
John Maddock wrote:
>> I can't find a boost/platform/bsd.hpp, but there is a
>> boost/config/platform/bsd.hpp which I replaced and got the same error
>> message.
>
> Darn, OK one last try to find the cause of the problem, can you please try
> building the short program below with g++ -pthread ...etc and let me know
> which #errors get triggered?
>
>> Out of curiosity, is Boost not regularly tested with OpenBSD? If not,
>> I'd like to submit these experiences for documentation on working with
>> OpenBSD and Boost.
>
> No we don't have a regular OpenBSD regression test runner, volunteers are
> always welcome of course :-)
>
> John.
>
> And the program:
>
> #include <boost/config/compiler/gcc.hpp>
> #ifndef BOOST_HAS_THREADS
> #error err1
> #endif
> #include <boost/config/stdlib/libstdcpp3.hpp>
> #ifndef BOOST_HAS_THREADS
> #error err2
> #endif
> #include <boost/config/platform/bsd.hpp>
> #ifndef BOOST_HAS_THREADS
> #error err3
> #endif
> #ifndef BOOST_HAS_PTHREADS
> #error err4
> #endif
> #include <boost/config/suffix.hpp>
> #ifndef BOOST_HAS_THREADS
> #error err5
> #endif
> #ifndef BOOST_HAS_PTHREADS
> #error err6
> #endif
Wait...I forgot the -pthread when compiling it...it works both times.
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