Subject: Re: isnan() macro
To: Dan McMahill <dmcmahill@NetBSD.org>
From: None <kpneal@pobox.com>
List: tech-userlevel
Date: 08/08/2004 22:58:36
On Thu, Aug 05, 2004 at 07:37:44AM -0400, Dan McMahill wrote:
> On Thu, Aug 05, 2004 at 02:15:06AM +0100, phlox wrote:
> > Greetings.
> > In a C++ program, why can't I use isnan() and all those C99 macros ?
> > I know I need to define _GLIBCPP_USE_C99, but when I do it, it breaks other
> > functions. 
> > Anyway, I found a replacement (isnanf()), but my question is: isn't this non
> > standard ?
> > (I know g++ is not fully C99 compliant. I just need a good clarification on
> > this issue)
> > 
> > Thanks in advance.
> 
> see  PR#25930.  This was fixed in -current a month or so ago and in the 2.0
> branch a couple of days ago.

Since when is C++ C? Why would C++ be C99?
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/

 "Good grief, I've just noticed I've typed in a rant. Sorry chaps!"
                            Keir Finlow Bates, circa 1998