public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/2311
@ 2001-05-02 11:06 bkoz
0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2001-05-02 11:06 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/2311; it has been noted by GNATS.
From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org, pcarlini@unitus.it
Cc:
Subject: Re: libstdc++/2311
Date: 2 May 2001 18:03:30 -0000
Synopsis: isnan(), isinf(), etc, not undefined
State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Wed May 2 11:03:30 2001
State-Changed-Why:
Fixed in mainline
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2311&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libstdc++/2311
@ 2001-03-19 12:56 bkoz
0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2001-03-19 12:56 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/2311; it has been noted by GNATS.
From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org,
pcarlini@unitus.it
Cc:
Subject: Re: libstdc++/2311
Date: 19 Mar 2001 20:50:45 -0000
Synopsis: isnan(), isinf(), etc, not undefined
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Mon Mar 19 12:50:45 2001
Responsible-Changed-Why:
Responsible
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Mon Mar 19 12:50:45 2001
State-Changed-Why:
A couple of issues:
1) iso 14882 (c++) 26.5 says nothing about these macros
2) iso 9998 (c) 7.12.3 Classification macros
#include <math.h>
int isnan(real-floating x);
Note the differce: standards-specify one argument.
I suppose this doesn't really matter, and that v3 should not have these macros in its namespace.
The macros usage is turned on by this define in math.h:
/* ISO C99 defines some generic macros which work on any data type. */
#if __USE_ISOC99
this is on by default for gnu/linux (see config/os/gnu-linux/bits/os_defines.h)
You could turn off all the ISO C 9899 stuff for v3, but it's not going to be possible to just turn off these bits. (Thus, wchar_t bits and long long/long double bits go too.)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2311&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-02 11:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02 11:06 libstdc++/2311 bkoz
-- strict thread matches above, loose matches on Subject: below --
2001-03-19 12:56 libstdc++/2311 bkoz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).