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

Bug#244610: libc6-dev: No header file declares log2l().



> Read /usr/include/bits/mathcalls.h.

Have you compiled a sample code with log2l() and <math.h>
and checked whether a warning was displayed? I doubt it.

Could you compile the following code with "gcc -Wall"?

#include <math.h>

int main(void)
{
  long double a=0.1;
  return (int) log2l(a);
}

I got the following warning, which should not happen according
to the manual page.

sh-2.05b$ gcc -Wall log2l.c -lm
log2l.c: In function `main':
log2l.c:6: warning: implicit declaration of function `log2l'

Ryutaroh


-- 
To UNSUBSCRIBE, email to debian-glibc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: