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]: Fixes warnings in gthr-win32.h for mingw targets


2009/8/24 Kai Tietz <ktietz70@googlemail.com>:
> Hello,
>
> this patch fixes some warnings for mingw targets about unused
> arguments, and fixes pointer-scalar cast warnings for x64 mingw
> target.
>
> 2009-08-24 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* gcc/gthr-win32.h (__UNUSED_PARAM): Define, if not already present.
> ? ? ? ?(__gthread_objc_condition_allocate): Mark arguments as unused.
> ? ? ? ?(__gthread_objc_condition_deallocate): Likewise.
> ? ? ? ?(__gthread_objc_condition_wait): Likewise.
> ? ? ? ?(__gthread_objc_condition_broadcast): Likewise.
> ? ? ? ?(__gthread_objc_condition_signal): Likewise.
> ? ? ? ?(__gthread_objc_thread_detach): Cast via INT_PTR to pointer.
> ? ? ? ?(__gthread_objc_thread_id): Likewise.
>
>
> Tested for i686-pc-mingw32 and for x86_64-pc-mingw32. Ok for apply to trunk?

As there are no objections committed at revision 151077 to trunk.

Cheers,
Kai

-- 
|  (\_/) 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]