Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio and C++0x
From: Wilde, Donald S (donald.s.wilde_at_[hidden])
Date: 2011-06-28 11:30:10

> > > I hadn't, but I added -lboost_system to my CPP command line. It did not help. Was that the correct way to
> > > inject the library?

> > Yes, you should link with -lboost_system or -lboost_system-mt for
> > multithreaded version.

> Okay, so I did that correctly, thanks for the clarification. It didn't change the errors, though. I will try
> the mt-version as well, since asio does spin threads.

That did not help.

> I did see a bug report in your tracker about problems in this situation, but when I googled again I couldn't
> get back to it. There does appear to be some conflict between c++0x and boost that g++ is not handling.

It appears that gcc up to 4.5.2 did work; the bug was related to bleeding-edge gcc.

I am still looking for solutions to this issue. I have successfully built my app with -std=c++0x and boost::thread, but boost::asio gives me errors.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at