From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19735 invoked by alias); 2 Aug 2002 16:52:39 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19704 invoked by uid 61); 2 Aug 2002 16:52:39 -0000 Date: Fri, 02 Aug 2002 09:52:00 -0000 Message-ID: <20020802165239.19703.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@codesourcery.com, greyleaf@attbi.com, nobody@gcc.gnu.org From: bkoz@gcc.gnu.org Reply-To: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@codesourcery.com, greyleaf@attbi.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/7439: C99 compat: Can't use the name INFINITY in an enum. X-SW-Source: 2002-08/txt/msg00034.txt.bz2 List-Id: Old Synopsis: Can't use the name INFINITY in an enum. New Synopsis: C99 compat: Can't use the name INFINITY in an enum. State-Changed-From-To: open->analyzed State-Changed-By: bkoz State-Changed-When: Fri Aug 2 09:52:38 2002 State-Changed-Why: This comes from /usr/include/bits/mathdef.h: # define INFINITY HUGE_VALF It looks like INFINITY is a C99 macro. Currently, the plan WRT libstdc++ and C99 macros is undefined. It's also an issue for things like isnan, et. al. It's also a cause for the persistent failure of 26_numerics/c99_classification_macros_c++.cc I don't know what to do, but whatever is done should be consitent with all of these C99'isms. -benjamin http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7439