libstdc++/7439: Can't use the name INFINITY in an enum.
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Fri Aug 2 09:43:00 GMT 2002
Synopsis: Can't use the name INFINITY in an enum.
State-Changed-From-To: analyzed->open
State-Changed-By: bkoz
State-Changed-When: Fri Aug 2 09:43:28 2002
State-Changed-Why:
Here's the testcase. Confirmed under 3.3 gnu/linux.
#include <iostream>
int main( int argc, char** argv )
{
enum { INFINITY = -2 };
return (0);
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7439
More information about the Gcc-bugs
mailing list