[patch libobjc]: Remove some warnings

Kai Tietz Kai.Tietz@onevision.com
Tue Jun 10 12:39:00 GMT 2008


"Andrew Pinski" <pinskia@gmail.com> wrote on 10.06.2008 11:25:43:

> On Tue, Jun 10, 2008 at 10:23 AM, Kai Tietz <Kai.Tietz@onevision.com> 
wrote:
> > ChangeLog
> >
> > 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
> >
> >        * Object.m (compare): Add type id.
> >        * objc/Object.h: Likewise.
> >        * archive.c (objc_read_class): Use size_t to extend version to 
be
> >        size of ponter scalar width.
> >        * sendmsg.c (rtx): Undefine it before redefinition.
> >        (__objc_print_dtable_stats): Cast arguments to long as 
intended.
> >
> > Bootstraped on w64 without any new regressions.
> > Is this patch ok for apply?
> 
> +/* Alread defined in gcc/coretypes.h. So prevent double definition 
> warning.  */
> +#ifdef rtx
> +#undef rtx
> +#endif
> 
> Just do:
> #undef rtx
Done.

> The rest is ok.
> 
> Thanks,
> Andrew Pinski


Committed at revision 136617.

Thanks,
 Kai

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



More information about the Gcc-patches mailing list