discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gorm don't work


From: David Chisnall
Subject: Re: Gorm don't work
Date: Fri, 25 Jan 2019 11:29:28 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 22/01/2019 22:15, Germán Arias wrote:
2019-01-22 16:01:48.065 Gorm[5259:5259] GormDocument.m:109  Assertion
failed in GormDocument(instance), method _docWindow.  Unable to find
_window ivar in NSDocument class

This looks like it's in the code I changed for compatibility with the new ABI. Gorm is now using reflection to find private ivars in GNUstep, rather than accessing them directly (accessing private ivars in the new ABI will now cause a link failure anywhere other than the compilation unit containing the @implementation).

If this assertion fails, it means that the Objective-C compiler / runtime that you are using is not able to find reflection metadata for the _window ivar in NSDocument. This is quite worrying, because looking up ivars via the reflection APIs worked even back in the GCC 3.x days.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]