This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: V3 PATCH: #undef some C99 math macros in <cmath>
- To: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Subject: Re: V3 PATCH: #undef some C99 math macros in <cmath>
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 5 Apr 2001 18:59:13 -0700 (PDT)
- cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
a better way to do this would be to disable _USE_GNU so that math.h
doesn't define the C99 stuff at all. We're going to have to do something
similar to get long long working correctly. (I'm planing on working on
that after the backwards stuff gets finished/in)
also, can you please please please. Please. Please put in a testsuite
regression?
-benjamin
> + #undef fpclassify
> + #undef isfinite
> + #undef isinf
> + #undef isnan
> + #undef isnormal
> + #undef signbit
> +
> + #undef isgreater
> + #undef isgreaterequal
> + #undef isless
> + #undef islessequal
> + #undef islessgreater
> + #undef isunordered
in the short term, this is acceptable.
thanks,
benjamin