Boost logo

Boost :

Subject: Re: [boost] [config/interprocess] visual C++ express og /Za option
From: John Maddock (john_at_[hidden])
Date: 2008-12-09 13:14:42


Thorsten Ottosen wrote:
>> I got this error when I switch on the /Za option:
>>
>> d:\boost\trunk\boost\interprocess\detail\workaround.hpp(20) : fatal
>> error C1083: Cannot open include file: 'unistd.h': No such file or
>> directory
>>
>> The only thing I did was to add /Za to my Jamroot. The compiler
>> switch
>> is supposed to turn of microsoft extensions. Does anyone have any
>> clues
>> to what is going on?

I suspect this is because interprocess has to be able to either:

#include <windows.h>

or

#include <unistd.h>

and in /Za mode it can do neither?

HTH, John.


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