shs.cc won't build on Solaris 2.5/sparc

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Feb 24 17:51:00 GMT 2002


Anthony Green wrote:

>On Sun, 2002-02-24 at 05:43, Alexandre Oliva wrote:
>
>>uint32_t and uint8_t are only available on Solaris 2.5 when pthread.h
>>is included (!!!).  I couldn't find any header in libjava that would
>>make sure these types were available, so I just arranged for shs.cc to
>>include jvm.h, like natSimpleSHSStream.cc does, which gets around the
>>problem.  Is this ok to install?
>>
>
>We have a similar problem with newlib targets.  I think we decided to
>use mode attributes instead of uint32_t and the like.  I was going to
>submit a patch for that today.
>

Why not fix newlib to define these (ISO C99) types?

regards

Bryce.




More information about the Java-patches mailing list