Boost logo

Boost :

Subject: Re: [boost] [thread] Can't use boost/thread/mutex.hpp without boost_system
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2012-01-22 17:24:34


El 22/01/2012 23:01, Beman Dawes escribió:
> Right. Including windows.h is a non-starter in a header.

Boost.DateTime, Thread and Inteprocess have some windows.h
predeclarations, but then we have some warnings about C linkage functions:

https://svn.boost.org/trac/boost/ticket/6145

It could be a good idea to put some common windows.h predeclarations in
a boost::detail file and avoid those warnings.

Best,

Ion


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