[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: isnan() and isinf() checks
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2007-04-12 4:55:31
Message-ID: 461DBBC3.6040108 () gmx ! de
[Download RAW message or body]


Hasso Tepper schrieb:
> The C99 standard says that isinf and isnan are macros, but reality is
> more complex. These might be functions in some systems (glibc has even
> both!) and might require -lm. At the moment we only check whether
> function exists and in the trunk we don't use -lm for check either.
> 
> Attached are patches to fix the problem for both KDE3 and KDE4. As a
> side effect it also fixes detecting (_)finite in KDE4 for platforms
> where it requires -lm.
> 
> Patches are tested on Linux and DragonFlyBSD. If noone objects, I will
> commit tomorrow.
> 
libm is not available on win32 and I wonder if it's a good idea to reset 
CMAKE_REQUIRED_LIBRARIES is a good idea.

Christian


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic