This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/3876: c++ #define INFINITY in cmath


Synopsis: c++ #define INFINITY in cmath

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Mon Jul 30 13:52:34 2001
State-Changed-Why:
    INFINITY is specified as a macro in math.h in the C99 Standard, and the C++98 Standard says the contents of <cmath> are the same as those of <math.h> in the C Standard.
    
    Anyway, even if a revision of the C++ Standard rules this macro out of C++, this is not a problem in GCC, but in glibc, which is where the definition of the macro comes from.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3876&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]