Boost logo

Boost :

Subject: Re: [boost] cygwin API: posix or windows
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2011-01-09 15:17:55

Ion Gaztañaga wrote:
>> On Thu, 06 Jan 2011 22:32:16 +0100, vicente.botet
>> <vicente.botet_at_[hidden]> wrote:
>>> Hi,
>>> while trying to make Boost.System and Boost.Chrono configurable header
>>> only libs we need to include windows.h on some include files. To avoid
>>> the inclusion of this intrusive file, we decided sometime ago to
>>> include some files in detail/win that will present just the needed
>>> interfaces.
>>> In my humble opinion cygwin is a wrapper of posix intefaces under
>>> windows OS. So, boost libraries shouldn't use Windows interfaces when
>>> working under cygwin.
>>> What's the experience of others?
> My experiencie is that cygwin, since version 1.7, offers a good POSIX
> emulation and it should be treated like a UNIX OS. Inteprocess treats
> cygwin as a UNIX system and it offers both POSIX and XSI (system V)
> interprocess mechanisms.

My expectation of using boost on cygwin was that I would be able to
exercise code as if I were on a unix platform. I was surprised by
system/filesystem use of windows api on this platform.


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