gnu/gcj/io/shs.cc doesn't compile on Solaris 2.5.1 (bootstrap failure)

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Wed Mar 13 14:40:00 GMT 2002


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



More information about the Java mailing list