This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


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

Re: gcc -O -Wconversion with glibc2 - warnings from headers.


Nix <nix@esperi.demon.co.uk> writes:

> > /* We meant to use fabs(). Including <stdlib.h> does not change
> >    anything */
> 
> Is this g++? If so, then a g++ bug is exacerbating your problem.

No, it's C. In C, to use abs() you include stdlib.h, to use fabs(),
you include math.h. I am not aware of any related gcc/egcs bug.

-- 
Oleg Goldshmidt | BLOOMBERG L.P. (BFM) | oleg@NOSPAM.bfr.co.il
"... We work by wit, and not by witchcraft; 
 And wit depends on dilatory time." - W. Shakespeare.

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