This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: libm compiler warnings


>>>>> "Andreas" == Andreas Jaeger <aj@suse.de> writes:

>>>>> 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.

Andreas> Prototypes for such aliases normally go in a file in the
Andreas> include directory, see e.g. include/stdio.h.

Andreas> math_private.h might be an exception, but math/math.h would
Andreas> be wrong.

Ok, there was already a bunch of prototypes in math_private.h and it
wasn't obvious to me which prototypes should go where - Ulrich do you
have an oppinion on the right place here?

Cheers
Jes

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