Opened 11 years ago
Closed 10 years ago
#6552 closed Bugs (fixed)
bjam build fails when using 'vc10' toolset
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | bjam, vc10 | Cc: |
Description
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.
typedef int pid_t;
Environment OS: Windows 7 SP1 x64 Boost: bjam.h (Rev: #76862)
Attachments (1)
Change History (2)
by , 11 years ago
Attachment: | bootstrap.log added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The problematic code was removed a while ago.