This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gnu/gcj/io/shs.cc doesn't compile on Solaris 2.5.1 (bootstrapfailure)
- From: Anthony Green <green at redhat dot com>
- To: Adam Megacz <adam at megacz dot com>
- Cc: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>, gcc-gnats at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: 13 Mar 2002 15:40:30 -0800
- Subject: Re: gnu/gcj/io/shs.cc doesn't compile on Solaris 2.5.1 (bootstrapfailure)
- References: <200203132014.VAA27030@tamarinde.TechFak.Uni-Bielefeld.DE><86henk3xp5.fsf@megacz.com><15503.54620.761421.899604@xayide.TechFak.Uni-Bielefeld.DE> <867kog3vv5.fsf@megacz.com>
On Wed, 2002-03-13 at 15:12, Adam Megacz wrote:
> The old shs.cc assumed that an unsigned int was 32 bits. This is
> broken. To my knowledge, it can only be fixed robustly on platforms
> with proper (C99-compliant) headers.
>
> It seems that you know of another way to fix the problem which will
> work on systems lacking proper headers. Could you please post a patch
> containing your suggested fix?
I think we decided it would be OK to for the mode of the integer with a
type attribute. This is what I need for newlib targets as well (like
xscale-elf).
AG