On Mon, Aug 29, 2011 at 1:05 PM, Ludovic Marcotte <[email protected]> wrote:
> On 28/08/11 12:23, Matt Rice wrote:
>>
>> Thanks, is there a msg_send_compat.h which was supposed to be included
>> with this patch?
>
> Indeed, here is the file. All tests were done with revision #2606.
>
> I also have a complete example that I could send which shows SOGo
> (www.sogo.nu) instantiating and class and invoking a method which is
> provided by a Python script (class definition and the implementation of that
> method).
>
> Regards,
>

Thanks, unfortunately required some modifications,
apparently my constructor call order here is the opposite
of yours,

sure would be nice if +load would accept the constructor attribute
priority, or a gcc option to set the default priority at compile time.

    # Load order is important here.  Linking -corebase after -base causes a
    # crash trying to register for a notification with a string that is not yet
    # initialized.
    OBJC_LDFLAGS = str(subprocess.Popen(["gnustep-config",
"--base-libs"], stdout=subprocess.PIPE).communicate()[0]).split()
    OBJC_LDFLAGS.extend(["-lgnustep-corebase"])

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to