
9 Dec
2008
9 Dec
'08
9:49 p.m.
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