suspicious obj-c warnings [3.1]

Aurelien aurelien@fractals.be
Mon Sep 10 07:15:00 GMT 2001


Le dimanche 9 septembre 2001, à 05:44, H . J . Lu a écrit :

> On Sun, Sep 09, 2001 at 02:59:27PM +0200, Aurelien wrote:
>> Hi,
>>
>> Worried about strange compiler warnings from gcc 3.1, I sent a message
>> to the GNUstep mailing list reporting messages like the following:
>>
>> /usr/local/bin/ld: warning: type and size of dynamic symbol
>> '__objc_class_name_NSURL' are not defined
>>
>> Some very competent person from the list replied the following:
>>
>> "Fix the compiler ... seriously ... apparently it generates code that 
>> is
>> technically wrong (though fine
>> on all known machines), so ld complains about it."
>
> It is a known problem. Basically, obj-c compiler doesn't know how
> to generate proper assembly code for ELF.

What then ? Do you know if/when it's going to be fixed ?

Could there be annoying consequences to this, other than clubbering my 
IDE with warnings ? Or do you know of a workaround (possibly there is 
another object format than ELF) (I'm using KDevelop)?

Is this a 3.1 bug, or does it appear in 2.95.x also ?

Thanks,

Aurélien



More information about the Gcc mailing list