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

Tom Tromey tromey@redhat.com
Fri Mar 15 13:07:00 GMT 2002


>>>>> "Rainer" == Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:

Rainer> right, this is exactly what java/lang/mprec.h does (as already
Rainer> noted in the PR libgcj/5944. I just don't have a good idea
Rainer> where to move this stuff so it can be used both by java/lang
Rainer> and shs.h.
I'm not too concerned about that right now. I don't know if I'll ever
be concerned with it :-).
Could you try this patch?
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
	Fix for PR libgcj/5944.
	* gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
Index: gnu/gcj/io/shs.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/io/shs.h,v
retrieving revision 1.2
diff -u -r1.2 shs.h
--- gnu/gcj/io/shs.h 2002年02月07日 05:01:29 1.2
+++ gnu/gcj/io/shs.h 2002年03月15日 21:05:55
@@ -21,6 +21,9 @@
 # if HAVE_STDINT_H
 # include <stdint.h>
 # endif
+#else
+typedef unsigned int uint32_t __attribute__((mode(SI)));
+typedef unsigned int uint8_t __attribute__((mode(QI)));
 #endif
 
 /* The SHS block size and message digest sizes, in bytes */


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /