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]

[patch]: Merge from gnustep for obj-c. Remove warnings for target w64.


Hi,

this patch removes some warnings in libobjc, and is a merge from the 
changes already applied to gnustep/objc.

ChangeLog

2008-11-18  Kai Tietz  <kai.tietz@onevision.com>

        *  Object.m (errno): Declare for _WIN32 as dllimported.
        (compare): Cast self to id to prevent warning on comparison.
        * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if already 
there.
        * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
        * thr-win32.c (__objc_thread_detach): Remove type warning.
        (__objc_thread_id): Likewise.
        * thr.c (__objc_thread_detach_function): Add abort for unreachable 
code.

This patch is tested for mingw targets and for i686-pc-linux32 target. Is 
it ok to apply?

Cheers,
Kai



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

Attachment: libobjc.diff
Description: Binary data


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