This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava build failure #2 on solaris-2.6


Alexandre Oliva wrote:

>On a related line: on Solaris 2.5/sparc, I could get to building
>libjava's C++ sources, and building java/lang/natClassLoader.cc failed
>because it calls snprintf(), that's only available on Solaris 2.6 and
>newer. 
>

There was a PR on this, Tom fixed it already.

2001-12-10  Tom Tromey  <tromey@redhat.com>

        Fix for PR libgcj/5064.
        * java/lang/natClassLoader.cc: Don't include stdio.h.
        (_Jv_RegisterClassHookDefault): Don't use snprintf.

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]