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]

Strange Warnings...


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.


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