This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ofstream problem
- To: egcs at egcs dot cygnus dot com
- Subject: Re: ofstream problem
- From: Ross Smith <ross dot s at ihug dot co dot nz>
- Date: Wed, 30 Jun 1999 12:06:43 +1300
- Organization: The Internet Group
- References: <199906292155.QAA17942@mercury.xraylith.wisc.edu>
Mumit Khan wrote:
>
> "Stephen Lindholm" <SLindholm@souvgrp.com> writes:
> >
C:\\EGCS\\BIN\\..\\lib\\gcc-lib\\i386-mingw32\\egcs-2.91.66\\..\\..\\..\\..=
> > \\inc
> > lude\\g++\\fstream.h: In function `void WriteScript2()':
> > C:\\EGCS\\BIN\\..\\lib\\gcc-lib\\i386-mingw32\\egcs-2.91.66\\..\\..\\..\\..=
> > \\inc
> > lude\\g++\\fstream.h:76: warning: `class ostream * this' might be used =
> > uninitial
> > ized in this function
>
> It's a warning, not an error, so you're safe.
>
> good news is that it'll be gone in gcc-2.95, the next major release.
>
> Until then, the only way to avoid the warning is to turn off exception
> handling (-fno-exceptions).
Not the only way. I think -Wno-uninitialized is a bit less drastic. :-)
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
I know you're desperate, I really sympathise
I see the morbid horror flicker in your eyes
But rest assured I'm gonna help to ease your pain
I'm gonna put a thousand tiny implants in your brain [Motorhead]