PATCH: minor corrections to gthr-dce.h
law@redhat.com
law@redhat.com
Tue May 15 18:12:00 GMT 2001
In message < 200105160056.UAA04956@hiauly1.hia.nrc.ca >you write:
> The following patch fixes a number of compilation warnings about unused
> arguments and the missing declaration for pthread_key_delete under hpux 10.
> 20.
>
> I am not sufficiently versed in dce thread implementations to know whether
> the library check is suitable for all systems to determine whether or not
> pthread_key_delete is available. I know it will work for hpux 10 and 11.
> Possibly, a configure check is needed.
>
> Testing is rather limited at the moment. I know that libgcc builds ok and
> that the UNUSED macro works with C++ code.
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 605)
>
> 2001-05-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * gthr-dce.h (UNUSED): Attribute unused macro.
> (__gthread_key_dtor): Make arguments UNUSED.
> (__gthread_key_delete): Revise for compatibility with DRAFT4
> implementation.
Based on your comments, this patch is not critical for the GCC 3 release,
correct?
If so, then go ahead and install it into the mainline sources. If it is
critical for the GCC 3 release, then we'll need to review/test it in more
detail.
jeff
More information about the Gcc-bugs
mailing list