[Boost-bugs] [Boost C++ Libraries] #6552: bjam build fails when using 'vc10' toolset

Subject: [Boost-bugs] [Boost C++ Libraries] #6552: bjam build fails when using 'vc10' toolset
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-13 12:37:29


#6552: bjam build fails when using 'vc10' toolset
--------------------------------------------------+-------------------------
 Reporter: Edward Zhu <edward.zr.zhu@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost Development Trunk
 Severity: Problem | Keywords: bjam, vc10
--------------------------------------------------+-------------------------
 When running the tools/build/v2/bootstrap.bat on Windows, the build fails.
 View the bootstrap.log file, and find the following errors.

     error C2016: C requires that a struct or union has at least one member

     error C2061: syntax error : identifier 'pid_t'

     error C2059: syntax error : '}'

 For more information, please see the attachment file.

 '''Root Cause of this issue'''

 Microsoft VC 10.0 does not have ''pid_t'' type by default. Suggest
 modifying the bjam.h. In the ''#ifdef NT'' segment, insert the following
 code.

    {{{#!C++
     typedef int pid_t;
    }}}

 '''Environment'''
 OS: Windows 7 SP1 x64
 Boost: bjam.h (Rev: !#76862)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6552>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC