This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: `cout << setw(...) << "..."' gives segfault


Benjamin Kosnik <bkoz@redhat.com> writes:

> I currently cannot reproduce these errors. Do y'all still have
> problems?

Unfortunately, yes.  This proglet:

  #include <iostream>
  #include <iomanip>

  int main() { std::cout << std::setw( 14 ) << 'a'; }

still segfaults, with the latest GCC snapshot.

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
Configured with:  --enable-libstdcxx-v3 --enable-languages=c,c++
gcc version 2.97 20001023 (experimental)

-- 
Cheers,
Rich.  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]