|
Boost Users : |
From: Brenda Orlin (buz91_at_[hidden])
Date: 2008-08-28 14:16:10
To save anyone else this problem - it turns out you have to include boost headers FIRST to avoid problems!
> To: boost-users_at_[hidden]> From: dsp_at_[hidden]> Date: Thu, 28 Aug 2008 16:51:40 +0200> Subject: Re: [Boost-users] new user with compile problems> > Brenda Orlin wrote:> > The only code I am including that was not self-developed is standard > > C/C++ headers and Boost stuff. I have just confirmed that if I > > comment-out the line which #includes boost/thread, the code compiles > > fine. If I put the line back in (not even trying to use the Boost stuff, > > just including that header), I get all the errors again. Any other > > suggestions?> > Please provide a minimal example code that should demonstrate the > problem. I tested the following - which summarizes your description -> and compiled it with VS2005 SP 1 successfully:> > --------------------------------> #include <boost/thread.hpp>> > int main() {> }> --------------------------------> > Greetings from Bremen,> > Daniel Krügler> > _______________________________________________> Boost-users mailing list> Boost-users_at_[hidden]> http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________
See what people are saying about Windows Live. Check out featured posts.
http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008
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