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 22:10:58 -0700 (PDT)
- cc: Ulrich Drepper <drepper at cygnus dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
> I understand. But isn't that a linux-centric solution?
Well. Yes.
As uli already indicated, your approach is valid. The rest of this stuff
should get cleaned up too, but after your patch is in.
I like the idea of putting the C99 bits into a "c99" namespace and
aliasing them into std:: if the user configures with --enable-c99. I
think that sounds pretty reasonable. As I understand it, C99
compatibility is something that the library group intends to look at.
-benjamin