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 (bootstrap failure)
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Adam Megacz <adam at megacz dot com>
- Cc: gcc-gnats at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Wed, 13 Mar 2002 23:40:28 +0100 (MET)
- Subject: Re: gnu/gcj/io/shs.cc doesn't compile on Solaris 2.5.1 (bootstrap failure)
- References: <200203132014.VAA27030@tamarinde.TechFak.Uni-Bielefeld.DE><86henk3xp5.fsf@megacz.com>
Adam Megacz writes:
> Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
> > 2002-02-06 Adam Megacz <adam@xwt.org>
> >
> > * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
> > use uint<n>_t instead of LONG and BYTE
> >
> > which unconditionally uses uint<n>_t
>
> Nope, check shs.h (included from shs.cc):
>
> #include<config.h>
> #if HAVE_INTTYPES_H
> # include <inttypes.h>
> #else
> # if HAVE_STDINT_H
> # include <stdint.h>
> # endif
> #endif
>
> If your system does not have one of these headers, it is not C99
> compliant. GCJ does not build on non-C99-compliant systems.
but this is both unlike the way libstdc++ handles this and a (completely
unnecessary) regression from GCC 3.0.x.
Rainer