Boost logo

Boost :

From: James Talbut (James.Talbut_at_[hidden])
Date: 2008-04-01 03:56:13


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_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Felipe
> Magno de Almeida
> Sent: 31 March 2008 20:22
> To: boost_at_[hidden]
> 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_at_[hidden]> 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.
________________________________________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk