Boost C++ Libraries: Ticket #6552: bjam build fails when using 'vc10' toolset https://svn.boost.org/trac10/ticket/6552 <p> When running the tools/build/v2/bootstrap.bat on Windows, the build fails. View the bootstrap.log file, and find the following errors. </p> <blockquote> <p> error C2016: C requires that a struct or union has at least one member </p> </blockquote> <blockquote> <p> error C2061: syntax error : identifier 'pid_t' </p> </blockquote> <blockquote> <p> error C2059: syntax error : '}' </p> </blockquote> <p> For more information, please see the attachment file. </p> <p> <strong>Root Cause of this issue</strong> </p> <p> Microsoft VC 10.0 does not have <em>pid_t</em> type by default. Suggest modifying the bjam.h. In the <em>#ifdef NT</em> segment, insert the following code. </p> <div class="wiki-code"><div class="code"><pre> <span class="k">typedef</span> <span class="kt">int</span> <span class="kt">pid_t</span><span class="p">;</span> </pre></div></div><p> <strong>Environment</strong> OS: Windows 7 SP1 x64 Boost: bjam.h (Rev: #76862) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6552 Trac 1.4.3 Edward Zhu <edward.zr.zhu@…> Mon, 13 Feb 2012 12:38:08 GMT attachment set https://svn.boost.org/trac10/ticket/6552 https://svn.boost.org/trac10/ticket/6552 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bootstrap.log</span> </li> </ul> Ticket Steven Watanabe Tue, 16 Oct 2012 18:15:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6552#comment:1 https://svn.boost.org/trac10/ticket/6552#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">fixed</span> </li> </ul> <p> The problematic code was removed a while ago. </p> Ticket