strange warning message with egcs 1.1.2
Stefan Seefeld
seefelds@MAGELLAN.UMontreal.CA
Thu Apr 29 08:12:00 GMT 1999
I find in quite different contexts the following problem:
The source code snipped
for (clist_t::iterator i = children.begin(); i != children.end(); i++)
{/*...*/}
produces occasionaly the Warning:
PolyGraphic.cc: In method `PolyGraphic::~PolyGraphic()':
PolyGraphic.cc:40: warning: `class
vector<_CORBA_ObjRef_Var<Graphic,Graphic_Helper>,__default_alloc_template<true,0> > * this' might be
used uninitialized in this function
Here, clist_t is of type vector<...>, but I found the same kind of problem in contexts
where it is a string or a map<...>. Unfortunately I can't give more detailed descriptions
because I didn't figure out what those situations producing the message distinguishes from
others.
Is this just an erroneous error message or is there really some wrong code produced ?
Best regards, Stefan
_______________________________________________________
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca
_______________________________________________________
...ich hab' noch einen Koffer in Berlin...
More information about the Gcc-bugs
mailing list