On Tue, Mar 1, 2011 at 7:39 PM, Brad <b...@comstyle.com> wrote: > There is currently a bug with std::showpos with the older > version of libstdc++-v3 that is bundled with gcc 4.2.1 > in-tree. It was exposed by the Gnash testsuite when > dates were not being formatted correctly showing > GMT00000 instead of GMT+0000 as expected.
An even simpler test case is that the following program should print "+0", not just "0": #include <iostream> using namespace std; int main() { cout << showpos << 0 << endl; } ok matthew@