Subject: Re: Anyone working on KDE4?
To: None <>
From: James K. Lowden <>
List: pkgsrc-users
Date: 05/21/2007 22:22:15
Joerg Sonnenberger wrote:
> On Fri, May 18, 2007 at 10:55:20PM -0400, James K. Lowden wrote:
> > A C++ compiler is under no obligation to support C99 code, and the C++
> > standard library supports afaict equivalent functionality in
> > std::numeric_limits (#include <limit>).  I'd patch the code and let
> > the KDE folks know.  
> We are talking about GCC only here. And GCC does support C99 macros when
> it decides that C99 support for math is available (the macro I asked for
> earlier). Based on that isnan and isinf are replaced with templates and
> undefined. If you have a better way to do it, be my guest. I just wanted
> to clarify where the error comes from :-)

Thank you for the clarification.  I still can't see why anyone would write
compiler-specific code hoping for C99 support when C++ provides support
for the very same concepts in its standard library.  It seems so obviously