
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
#ifndef BOOST_HAS_THREADS #error err1 #endif #include #ifndef BOOST_HAS_THREADS #error err2 #endif #include #ifndef BOOST_HAS_THREADS #error err3 #endif #ifndef BOOST_HAS_PTHREADS #error err4 #endif #include #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.