libm compiler warnings
Andreas Jaeger
aj@suse.de
Tue Sep 26 06:46:00 GMT 2000
>>>>> Jes Sorensen writes:
> Hi
> When compiling libm under Linux/ia64 I get a bunch of warnings about
> implicit declarations of a bunch of math functions and a single warning
> about missing parantheses in ldbl-96/e_atan2l.c.
> It wasn't quite obvious if the prototypes for the missing functions
> should go in math.h or math_private.h so I stuck them in math_private.h
> but feel free to move them if I am wrong.
Prototypes for such aliases normally go in a file in the include
directory, see e.g. include/stdio.h.
math_private.h might be an exception, but math/math.h would be wrong.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list