This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: suspicious obj-c warnings [3.1]
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: suspicious obj-c warnings [3.1]
- From: Aurelien <aurelien at fractals dot be>
- Date: Sun, 9 Sep 2001 18:16:13 +0200
- Cc: gcc at gcc dot gnu dot org
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