This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std_limits.h os_defines.h
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: std_limits.h os_defines.h
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 10 Aug 2001 04:13:38 +0200
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, Mark Mitchell <mark at codesourcery 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>
- Organization: CodeSourcery, LLC
- References: <200108100206.WAA27906@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
| >>>>> Benjamin Kosnik writes:
|
| Ben> Please make sure that what every you come up with allows
| Ben> newlib-based cross compilers to work (ie, test on x86-linux cross
| Ben> powerpc-eabism)
|
| May I point out that limits_generic.h has incorrect information
| for powerpc-eabism? PowerPC defaults to unsigned char, but
| limits_generic.h always reports signed char. There are lots of corner
| cases like this where limits_generic.h appears to work, but really reports
| incorrect information.
David,
Thanks for checking all this. Please, would you be willing to
produce a patch to config/ bits to correct those corner cases not
handled by the generic std_limits.h?
I got something "working" :-), look for a patch soon.
-- Gaby