This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [libobjc] Shouldn't "version" take a long?
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Jose Quinteiro" <gentoo at quinteiro dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 26 Sep 2007 11:50:38 -0700
- Subject: Re: [libobjc] Shouldn't "version" take a long?
- References: <46FAA3C2.5060807@quinteiro.org>
On 9/26/07, Jose Quinteiro <gentoo@quinteiro.org> wrote:
> Hello,
>
> The getter/setter for version in Object.M gets/takes an int, and they
> eventually get/set the "version" field in struct objc_class. This
> field is declared as a long in objc/objc.h.
Why? Any change here will change the ABI so it incorrect thing to do.
So the GNUMail issue seems like people are ignoring warnings that GCC
generates about methods are not declared in the class.
-- Pinski