This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: `cout << setw(...) << "..."' gives segfault
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: `cout << setw(...) << "..."' gives segfault
- From: Rich Churcher <churcher at ihug dot com dot au>
- Date: 26 Oct 2000 09:45:53 +1100
- Cc: Petter Urkedal <petter dot urkedal at matfys dot lth dot se>, libstdc++ at sources dot redhat dot com
- References: <Pine.SOL.3.91.1001025055034.23041A-100000@cse.cygnus.com>
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.