$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Olaf Krzikalla (krzikalla_at_[hidden])
Date: 2007-07-16 06:22:12
Hi,
Joaquín Mª López Muñoz wrote:
>><snip>
>>#include <iostream>
>>#include <ostream>
>>#include <istream>
>>#include <boost/format.hpp>
>>
>>int main()
>>{
>> std::cout << boost::format("empty: %1%") % ""; //crash
>> std::cin.ignore();
>> return 0;
>>}
>><snip>
>
>
> Cold you please try with Boost 1.34 (or with version 1.34.1 RC2
> available at http://boost.org/release/ )? There are a number of fixes done
> to Boost.Format since 1.33.1, and they look pertinent to the problem
> you're seeing.
With 1.34.1 RC2 it works as expected. I didn't test other boost versions.
I didn't test 1.34.1 before, since format doesn't appear in the list of
updated libraries in the 1.34 announcment. In additon, what happend to
the bug I've described here:
http://thread.gmane.org/gmane.comp.lib.boost.devel/144825
?
(I filed a bug in the boost bugtracker too, but couldn't recover the
bugtracker let alone the filed bug).
Best regards
Olaf Krzikalla