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: GSOC | Extending Common Lisp support


Having a few problems with the transliteration of PrimOps.scm to CL:

I've transliterated

(define (make-string (count :: <int>) ch)
  (make <gnu.lists.FString> count
        (invoke-static <gnu.commonlisp.lang.CommonLisp>
                       'asChar ch)))

into

(defun make-string (count ch)
  (declare (int count))
  (make <gnu.lists.FString> count
	(invoke-static <gnu.commonlisp.lang.CommonLisp>
		       'asChar ch)))

But with the latter I get the following warning:

$ kawa -C primitives.lisp
primitives.lisp:134:9: warning - no declaration seen for <gnu.lists.FString>

Any ideas why that's happening in CL but not Scheme? Adding
defProcStFld("make", "gnu.kawa.reflect.Invoke", "make");
to CommonLisp doesn't seem to make a difference (not that surprising
in hindsight)

Thanks for your time,
Charlie.


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