This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libobjc] Shouldn't "version" take a long?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]