pkgsrc-Users archive

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

Re: Anyone working on KDE4?



On Sat, May 19, 2007 at 01:09:11PM +0300, Hasso Tepper wrote:
> @@ -16,7 +16,7 @@
>      LIBS="-lm"
>      AC_MSG_CHECKING([for isnan with <math.h>])
>      AC_TRY_LINK(
> -     [#include <math.h>], [float f = 0.0; isnan(f)],
> +     [#include <math.h>], [float f = 0.0; return isnan(f)],

This still doesn't work with -ffast-math. There was a bug in mplayer's
configure with the lrintf detection due to this kind of problem.

It has to be a variable that the compiler can't be sure about, e.g. a
global variable.

Joerg



Home | Main Index | Thread Index | Old Index