[Openmcl-devel] ObjC Inheritance

Brent Fulgham bfulg at pacbell.net
Mon Dec 4 12:11:58 PST 2006


After sleeping on it, I remembered that Objective C does not permit multiple inheritance.  I suspect that the OpenMCL error is simply notifying me that I'm attempting to do something forbidden by the underlying object model of the  Cocoa runtime.

-Brent

----- Original Message ----
From: Alexander Repenning <alex.repenning at unisi.ch>
To: Brent Fulgham <bfulg at pacbell.net>
Cc: OpenMCL <openmcl-devel at clozure.com>
Sent: Monday, December 4, 2006 12:13:00 AM
Subject: Re: ObjC Inheritance

Hi Brent,


I would be really surprised if OpenMCL did not allow multiple inheritance given that this is part of regular CLOS/CL.


I am sure the OpenMCL folks can shed some light onto the error message. It does not make complete sense to me. 


Worst case you could keep references to windows and views as slots, e.g., native-window, native-view. This should avoid any internal issues do to multiple inheritance mixing of window and view.


all the best,  Alex



On Dec 4, 2006, at 8:29 AM, Brent Fulgham wrote:

What to do?


1.  Should I just encapsulate the ObjC stuff as a member of a set of STD classes to avoid this?
2.  Did I misunderstand the first error, and multiple inheritance is actually permitted?
3.  Other ideas?


Thanks,


-Brent


 Prof. Dr.  Alexander Repenning
University of Lugano
Faculty of Informatics, Via Guiseppe Buffi 13
Lugano, 6904, Switzerland


phone: +41 58 666 4304
fax: +41 58 666 4536



 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20061204/06cd5638/attachment.htm>


More information about the Openmcl-devel mailing list