This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: std_limits.h os_defines.h
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: std_limits.h os_defines.h
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 10 Aug 2001 10:50:39 -0700
- cc: Richard Henderson <rth at redhat dot com>, David Edelsohn <dje at watson dot ibm dot com>, Benjamin Kosnik <bkoz at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
--On Friday, August 10, 2001 07:36:47 PM +0200 Gabriel Dos Reis
<gdr@codesourcery.com> wrote:
>
> | Gaby, unless you can think of a reason not to use this, you might
> | as well remove __glibcpp_plain_char_is_signed, and use
> | __CHAR_UNSIGNED__ directly.
>
> Richard,
>
> What about the below?
I'm not Richard, but it looks good to me, if it tests OK. You could
go one step further and eliminate plain_char_is_signed and just
use !__CHAR_UNSIGNED__ instead, but the current thing is fine too.
If we ever really make V3 work with another compiler, it will be
good to have the indirection, I guess.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com