round() in glibc*2.3.3-31

Ulrich Drepper drepper at redhat.com
Sun May 30 02:47:55 UTC 2004


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 ❖





More information about the fedora-test-list mailing list