Boost C++ Libraries: Ticket #2722: When using Boost Interprocess on Windows with Visual C++ Language Extensions turned off, unistd.h gets included https://svn.boost.org/trac10/ticket/2722 <p> We are using the Interprocess library to make use of shared memory within our code. We are experiencing the following problem when building on Windows. </p> <p> Some of our projects are trying to include unistd.h from workaround.hpp. It looks like this happens if BOOST_WINDOWS is not defined. Tracing back through the header files I pieced together that BOOST_WINDOWS is not defined if BOOST_DISABLE_WIN32 is defined (win32.hpp). And BOOST_DISABLE_WIN32 gets defined if _MSC_EXTENSIONS is not defined (visualc.hpp). </p> <p> From the MSDN documentation, _MSC_EXTENSIONS is not defined if the Visual C++ Language Extensions are turned off, and in fact they are turned off for these projects. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2722 Trac 1.4.3 Ion Gaztañaga Wed, 25 Mar 2009 17:44:56 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/2722#comment:1 https://svn.boost.org/trac10/ticket/2722#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> <p> Extensions are necessary to call Windows API functions and also because Boost.<a class="missing wiki">DateTime</a> needs them. </p> Ticket