Paolo Bonzini wrote:
> > 1)
> > acosl.c:186: warning: implicit declaration of function `asinl'
> > acosl.c:186: warning: implicit declaration of function `sqrtl'
> > asinl.c:186: warning: implicit declaration of function `sqrtl'
> > 
> > Calling functions with 'long double' results when they are not declared
> > most often yields wrong results, so this is probably not harmless.
> 
> This should be taken care of by the include of <math.h> at the top of 
> the file.  I'd rather leave it to the gnulib hackers to understand it,

The problem is that @GNULIB_MATHL@ expands to 0 instead of 1.

> because I didn't write that part.

Yes, it was my mistake. Since 2007-02-18 :-(

This should fix it:


2008-04-15  Bruno Haible  <[EMAIL PROTECTED]>

        * modules/mathl (configure.ac): Define module indicator.

*** modules/mathl.orig  2008-04-16 03:42:52.000000000 +0200
--- modules/mathl       2008-04-16 03:42:38.000000000 +0200
***************
*** 27,32 ****
--- 27,33 ----
  
  configure.ac:
  gl_FUNC_LONG_DOUBLE_MATH
+ gl_MATH_MODULE_INDICATOR([mathl])
  
  Makefile.am:
  noinst_HEADERS += trigl.h trigl.c sincosl.c



Reply via email to