
That's a useful idea, but doesn't alter the fact that date_time 1.35 has broken previously working code and should be altered to work harmoniously with other boost libraries. The windows include order dependencies are a nightmare and I think it's the responsibility of libs that force their inclusion to avoid making the situation worse than it is. In other words, if there are include order dependencies in boost it's a bug, IMO. Jim
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Felipe Magno de Almeida Sent: 31 March 2008 20:22 To: boost@lists.boost.org Subject: Re: [boost] Bug in 1.35: header inclusion order dependencyintroduced between recursive_mutex.hpp and asio.hpp on Windows
On Mon, Mar 31, 2008 at 11:00 AM, James Talbut <James.Talbut@omg3d.com> wrote:
recursive_mutex.hpp include windows.h, which includes winsock.h. asio.hpp barfs if winsock.h has been included.
Just define WIN32_LEAN_AND_MEAN globally. Then winsock.h will not be included.
[snip]
Jim
-- Felipe Magno de Almeida _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
________________________________________________________________________ This e-mail, and any attachment, is confidential. If you have received it in error, do not use or disclose the information in any way, notify me immediately, and please delete it from your system. ________________________________________________________________________