This is the mail archive of the kawa@sourceware.org mailing list for the Kawa 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: Kawa build warnings


Per Bothner wrote:
Not sure what that question means.

Excuse me. Is there a sense of "correct" them?


Yes, ideally there shouldn't be any warnings.  Mostly, they
mean the compiler doesn't have enough information (at compile-time)
to select the right method, so it defers it to run-time.

Ok.


The following two should probably be fixed first.

C:\JVM\kawa\gnu\commonlisp\lisp\PrimOps.scm:121:20: warning - no known slot 'boolean>' in java.lang.Object
C:\JVM\kawa\gnu\commonlisp\lisp\PrimOps.scm:141:21: warning - no known slot 'boolean>' in java.lang.Object

Maybe later.


One question:

C:\JVM\kawa\gnu\kawa\slib\srfi69.scm:33:21: warning - no accessible
method 'hashCode' in java.lang.CharSequence

When I change

> (define (string-hash (s :: <string>) #!optional (bound :: <integer> #!null))
to
> (define (string-hash (s :: <String>) #!optional (bound :: <integer> #!null))


warning disappears. What are the differences between <string> and <String>?

--
WBR, Yaroslav Kavenchuk.


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