João Abecasis wrote:
Wieger Wesselink wrote:
From: "Joel de Guzman" <[EMAIL PROTECTED]>
Odd. I still can't reproduce the problem. I tried both GCC and
VC7.1 on Windows. My best guess is that there's a CR/LF problem
with your cygwin config? No? Well, perhaps you can help diagnose
the problem. The unindent code is in utils.cpp line 56 (see
void unindent(std::string& program)).
Wieger Wesselink wrote:
I've added some debug statements to the unindent function, and
> found out that it was indeed a CR/LF issue. My quickbook file had
> DOS line endings, which apparently resulted in single '\r' line
> endings in the input of unindent. After applying dos2unix,
> everything works fine. Thanks for your help!
Hmm... Even so, it seems we should fix this, spirit::eol_p can handle
different line-endings pretty well. Are we opening files in binary mode?
If not, I'll check in the obvious fix.
Agreed! Thanks in advance. Oh BTW, the unindent function is the
thing to look into.
<<Hey, any news on the PP-iterator stuff? I'm almost about
ready to go into that>>
Cheers!
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs