[quickbook] QUICKBOOK_CYGWIN_1_5 undefined

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/

On 30 August 2010 23:06, vicente.botet <vicente.botet@wanadoo.fr> wrote:
When I define it everything works as before. Should the user define QUICKBOOK_CYGWIN_1_5 when working on cygwin-1.5 ?
Yes, this should work: bjam dist-bin define=QUICKBOOK_CYGWIN_1_5 There doesn't seem to be any reliable way to detect 1.5. Although it'd be better if you upgraded, I expected that everyone would have by now. Alternatively, you could stick with quickbook from 1.43 for now, 1.44 tweaked a few things, but there's nothing essential. Daniel

----- Original Message ----- From: "Daniel James" <dnljms@gmail.com> To: <boost@lists.boost.org> Sent: Tuesday, August 31, 2010 1:17 AM Subject: Re: [boost] [quickbook] QUICKBOOK_CYGWIN_1_5 undefined
On 30 August 2010 23:06, vicente.botet <vicente.botet@wanadoo.fr> wrote:
When I define it everything works as before. Should the user define QUICKBOOK_CYGWIN_1_5 when working on cygwin-1.5 ?
Yes, this should work:
bjam dist-bin define=QUICKBOOK_CYGWIN_1_5
There doesn't seem to be any reliable way to detect 1.5.
I was lokiin for this kind of infor in the doc and I didn't find it. Could this be added to the documentation if I don't mis it?
Although it'd be better if you upgraded, I expected that everyone would have by now.
No, not yet. This is the single platform I have to test the absence of wchar :)
Alternatively, you could stick with quickbook from 1.43 for now, 1.44 tweaked a few things, but there's nothing essential.
Thanks, Vicente

On 30 August 2010 23:06, vicente.botet <vicente.botet@wanadoo.fr> wrote:
When I define it everything works as before. Should the user define QUICKBOOK_CYGWIN_1_5 when working on cygwin-1.5 ?
Yes, this should work:
bjam dist-bin define=QUICKBOOK_CYGWIN_1_5
There doesn't seem to be any reliable way to detect 1.5.
I was lokiin for this kind of infor in the doc and I didn't find it. Could this be added to the documentation if I don't mis it?
I don't want to put anything in for cygwin 1.5, as it isn't supported any more. Supporting old versions of cygwin is too much for me, and filesystem v3 doesn't work on cygwin 1.5. It will inevitably break soon (probably in 1.46, but I can't guarantee that it'll work in 1.45). I'm not intending to keep the 1.5 support around, it's there more out of inertia than anything. Daniel
participants (2)
-
Daniel James
-
vicente.botet