|
Boost : |
Subject: Re: [boost] [config/interprocess] visual C++ express og /Za option
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-12-09 16:49:23
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?
It seems that this disables Boost's BOOST_WINDOWS detection macro, so
the code supposes the platform is UNIX. I don't know how many problems
will appear with /Za but try to define BOOST_WINDOWS to see if problems
disappear.
> Thanks
>
> -Thorsten
Regards,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk