Strange Warnings...

Sebastian Ritterbusch uabp@rz.uni-karlsruhe.de
Mon Aug 17 17:41:00 GMT 1998


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.



More information about the Gcc mailing list