Boost logo

Boost :

Subject: Re: [boost] [config] problem with sys/select.h on Linux/Unix
From: Iain K. Hanson (iain.hanson_at_[hidden])
Date: 2009-06-30 15:12:18

Hi John,

On Tue, 2009-06-30 at 18:16 +0100, John Maddock wrote:

[ snip ]

> It doesn't: at least not deliberately, my guess it's included by something
> else like <unistd.h> which we really do need.

Thanks for the reply, but unistd.h is not the culprit either directly or
indirectly. Two possible candidates are sys/time.h and sys/types.h. Are
either of these used directly or indirectly in boost config?

Other boost libs document their dependencies. It would be useful if
boost config documented the headers it includes, particularly as the C
headers pollute the global namespace.

Do you have any thoughts on a work around? It is awkward trying to write
a library intended for submission to boost and not being able to use
either config or the unit test framework.



"I disapprove of what you say, but I will defend to the death your right
to say it,"
Evelyn Beatrice Hall who wrote under the pseudonym S.G. Tallentyre in
a biography of Voltaire.
#include <std_disclaimer>

Boost list run by bdawes at, gregod at, cpdaniel at, john at