Boost logo

Boost :

From: Olaf Krzikalla (krzikalla_at_[hidden])
Date: 2007-07-16 06:22:12


Joaquín Mª López Muñoz wrote:
>>#include <iostream>
>>#include <ostream>
>>#include <istream>
>>#include <boost/format.hpp>
>>int main()
>> std::cout << boost::format("empty: %1%") % ""; //crash
>> std::cin.ignore();
>> return 0;
> Cold you please try with Boost 1.34 (or with version 1.34.1 RC2
> available at )? 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:

(I filed a bug in the boost bugtracker too, but couldn't recover the
bugtracker let alone the filed bug).

Best regards
Olaf Krzikalla

Boost list run by bdawes at, gregod at, cpdaniel at, john at