This is the mail archive of the gcc-patches@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: [patch objc]: Fix issue about LLP64 and -Wpadded


> But maybe I'm misunderstanding your patch.  Feel free to explain it and point out
> anything I may have missed :-)

Ok ... having looked at it again, I think you're adding some padding that would be added
by the compiler anyway, just to fix the warning.  So, nothing would be broken, but then
you'd need to add a fat comment explaining that, because otherwise it just seems that the
compiler is out of sync with the runtime. ;-)

Thanks

-----Original Message-----
From: "Kai Tietz" <Kai.Tietz@onevision.com>
Sent: Wednesday, 29 September, 2010 17:26
To: gcc-patches@gcc.gnu.org
Subject: [patch objc]: Fix issue about LLP64 and -Wpadded

Hello,

This patch adds to objc_class structure a padding for windows 64-bit case.

ChangeLog libobjc/

2010-09-29  Kai Tietz

        * objc/deprecated/struct_objc_class.h: Add padding
        to avoid warning with -Wpadded.

Tested for x86_64-pc-mingw32, and i686-pc-cygwin. Ok for apply?

Regards,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.






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