discuss-gnustep
[Top][All Lists]
Advanced

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

Re: linking tool to use a framework : obj_send_msg error


From: Thomas Kupper
Subject: Re: linking tool to use a framework : obj_send_msg error
Date: Mon, 13 Apr 2009 23:41:29 +0200

You're my hero! I ignored what you said first and did what you said second and it compiles/links like a charm!!

Thanks alot
Thomas


On 13 Apr 2009, at 23:07, David Chisnall wrote:

On 13 Apr 2009, at 21:43, Thomas Kupper wrote:

Hey David,

I already set -std=c99 in GNUmake.preamble. Tried both ADDITIONAL_CFLAGS and .._OBJCFLAGS but in both cases the __VA_LIST_ macro isn't defined. Mmmh, I use gcc 4.3.
Do you have any other idea?

Yes - you ignore what I say, for I am talking nonsense.

Sorry, that should be __VA_ARGS__, not __VA_LIST__.  In full:

#define objc_msgSend(obj, sel, ...) \
        objc_msg_lookup(obj, sel)(obj, sel, ## __VA_ARGS__)

David





reply via email to

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