This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Strange Warnings...
- To: egcs at cygnus dot com
- Subject: Strange Warnings...
- From: Sebastian Ritterbusch <uabp at rz dot uni-karlsruhe dot de>
- Date: Mon, 17 Aug 1998 11:32:27 +0200 (CES)
Do the egcs (-O3 -g -Wall -Winline) warnings
interval.inl:4: warning: lass real * this' might be used
uninitialized in this function
interval.inl:4: warning: variable lass real * this' might be clobbered by
ongjmp' or fork'
mean that i am in trouble?
interval.inl:
3 inline interval::interval(const real &a,const real &b)
4 {
5 inf=a,sup=b;
6 }
(class real is the same as double, its only data is a double)
How could *this ever be uninitialized in a member function?
(This warning appears also in different member functions not only in
constructors...)
I hope this really is a problem of the compiler...
Ciao, Sebastian.