|
Boost : |
Subject: [boost] [quickbook] QUICKBOOK_CYGWIN_1_5 undefined
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-08-30 18:06:41
Hi,
I have moved to v1.44, and while I try to build quickbook on cygwin-1.5 I get the following error
$ bjam
...patience...
...found 1304 targets...
...updating 5 targets...
gcc.compile.c++ ../../../bin.v2/tools/quickbook/gcc-3.4.4/debug/link-static/deta
il/input_path.o
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp: In function `void qui
ckbook::detail::validate(boost::any&, const std::vector<std::string, std::alloca
tor<std::string> >&, quickbook::detail::input_path*, int)':
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp:80: error: `cygwin_con
v_path_t' undeclared (first use this function)
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp:80: error: (Each undec
lared identifier is reported only once for each function it appears in.)
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp:80: error: expected `;
' before "flags"
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp:87: error: `flags' und
eclared (first use this function)
C:\cygwin\boost\v44\tools\quickbook\detail\input_path.cpp:87: error: `cygwin_con
v_path' undeclared (first use this function)
"g++" -ftemplate-depth-300 -O0 -fno-inline -Wall -g -g0 -DBOOST_ALL_NO_LIB=
1 -DBOOST_SYSTEM_STATIC_LINK=1 -I"../../.." -c -o "C:\cygwin\boost\v44\bin.v2\t
ools\quickbook\gcc-3.4.4\debug\link-static\detail\input_path.o" "C:\cygwin\boost
\v44\tools\quickbook\detail\input_path.cpp"
...failed gcc.compile.c++ ../../../bin.v2/tools/quickbook/gcc-3.4.4/debug/link-s
tatic/detail/input_path.o...
...skipped <p../../../bin.v2/tools/quickbook/gcc-3.4.4/debug/link-static>quickbo
ok.exe for lack of <p../../../bin.v2/tools/quickbook/gcc-3.4.4/debug/link-static
>detail/input_path.o...
See on the code I see that there is a test on QUICKBOOK_CYGWIN_1_5 which is not defined in any file.
When I define it everything works as before. Should the user define QUICKBOOK_CYGWIN_1_5 when working on cygwin-1.5 ?
Best,
_____________________
Vicente Juan Botet Escribá
http://viboes.blogspot.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk