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


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

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