This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: ofstream problem


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]


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