Boost logo

Boost :

Subject: [boost] [trunk] compilation errors on MSVC 8
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-02-13 15:35:39


Hello all,

I get the errors below if I run bootstrap from the latest trunk checkout
using MSVC 8 on Windows 7... (the trunk seems instead to work with GCC 4.5.3
on Cygwin).

Thanks.
--Lorenzo

Setting environment for using Microsoft Visual Studio 2005 x86 tools.
###
### Using 'vc8' toolset.
###

C:\Users\lorcam\Desktop\code\boost-trunk\tools\build\v2\engine>if exist
bootstrap rd /S /Q bootstrap

C:\Users\lorcam\Desktop\code\boost-trunk\tools\build\v2\engine>md bootstrap

C:\Users\lorcam\Desktop\code\boost-trunk\tools\build\v2\engine>cl /nologo
/RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996
kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 command.c compile.c
constants.c debug.c execnt.c filent.c function.c glob.c hash.c hdrmacro.c
headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c
output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c
timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c pwd.c
class.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c
modules/property-set.c modules/sequence.c modules/order.c
command.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
compile.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
constants.c
debug.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
execnt.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
filent.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
function.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
glob.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
hash.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
hdrmacro.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
headers.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
jam.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
jambase.c
jamgram.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
lists.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
make.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
make1.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
object.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
option.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
output.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
Generating Code...
Compiling...
parse.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
pathunix.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
regexp.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
rules.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
scan.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
search.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
subst.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
timestamp.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
variable.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
modules.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
strings.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
filesys.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
builtins.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
md5.c
pwd.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
class.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
w32_getreg.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
native.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
set.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
path.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
Generating Code...
Compiling...
regex.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
property-set.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
sequence.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
order.c
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2016: C requires that a struct or union has at least one member
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(466) :
error C2061: syntax error : identifier 'pid_t'
c:\users\lorcam\desktop\code\boost-trunk\tools\build\v2\engine\jam.h(468) :
error C2059: syntax error : '}'
Generating Code...

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-trunk-compilation-errors-on-MSVC-8-tp4385204p4385204.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk