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: define-syntax and define-simple-class


Hi Per,

On 05/05/07 02:04, Per Bothner wrote:
> The problem is that MyAdd.scm compiles to a module class named 
> MyAdd.class.  This conflicts with the class created by the 
> define-simple-class.  Kawa doesn't catch this error.
> 
> One solution is to renamed MyAdd.scm, or change the module class name
>  using either the -T option, or the module-name declaration.

Renaming the source file (or the class created by define-simple-class)
did the trick. I found it was necessary to compile with --module-static
to be able to use generated class from other Kawa or Java programs.

Thanks for your help,

David


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