[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: round() in glibc*2.3.3-31



Mark Fonnemann wrote:
> is this a problem with
> the glibc package in Fedora?

Did you ever consider that it's your fault?  It is apparent that you did
not since otherwise you'd have passed -Wall to gcc to first eliminate
all your bugs (including this case you complain about).


> i feel this is either a bug or something that
> should be documented in a man page somewhere..

It is documented in all the places.  round() is a function introduced in
C99 which means the prototype is not available by default.  Therefore
either pass -std=c99 or -D_ISOC99_SOURCE to the compiler.


I just hope that possible employers during their background checks
stumble across this kind of messages to weed out incompetent programmers
who always try to blame others for the bugs in their own code.

-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]