> 
> > boost-1.30.2, SuSE Linux 8.2, GCC-3.3:
> >
> > an #include <boost/thread.hpp> results in
> > #error Thread support not available!
> >
> > It seems that since 1.30.2 on Linux it is
> > disabled by default, correct? why?
> >
> > gcc.hpp reads:
> >
> > #if [...] !defined(linux) && !define(__linux) && !define(__linux__)
> > # define BOOST_HAS_THREADS
> > #endif
> >
> > so...how do I enable threads for Linux?
> 
> Compile with the -pthreads flag, actually you always had to 
> do that if you
> wanted code that would actually work and be free of race 
> conditions, rather
> than just "compile".  It's just that now we check you're 
> doing the right
> thing :-)
> 

One more thing: what exactly can go wrong with 1.30.0 if
-pthread isn't used? Is it boost specific or a general thing
(e.g. issues w/ respect to libstdc++)?

Thanks,
Geurt

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to