delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/07/18:22:08

From: bosman AT clariion DOT com (Brian Osman)
Subject: -O3 -> warning: xxx might be used uninitialized (STL)
7 Aug 1998 18:22:08 -0700 :
Message-ID: <35CB1B55.D9143BDD.cygnus.gnu-win32@clariion.com>
Mime-Version: 1.0
To: GNUWin32 <gnu-win32 AT cygnus DOT com>

I couldn't find any mention of this in the mailing list archives, or in
the egcs archives. I'm using B19.1, with egcs 1.0.2. I have a
substantial program I'm working on, which uses STL pretty heavily.
Whenvever I'm doing normal builds (i.e. -g -Wall) everything goes fine,
but as soon as I replace -g  with -O3, I get thousands (actually 1028)
of warnings in the stl headers, and some other standard headers about
unitialized variables. Is this normal? Or has it been corrected at some
point? After eliminating all the duplicates, it looks like there's 65
such unique warnings being generated, all in:

fstream.h
std/bastring.h
stl_alloc.h
stl_construct.h
stl_list.h
stl_tree.h
stl_unitialized.h
stl_vector.h

Thanks for any suggestions...

Brian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019