[PATCH] Make the pointer parameter to __gthread_setspecific non-const
Aaron W. LaFramboise
aaronavay62@aaronwl.com
Sun Aug 24 04:23:00 GMT 2008
Richard Guenther wrote:
> On Sat, Aug 23, 2008 at 10:58 PM, Aaron W. LaFramboise
> <aaronavay62@aaronwl.com> wrote:
>> If you do a clean bootstrap of i386-pc-mingw32 from svn or a snapshot, it
>> will fail in stage2 in a file that includes gthr-win32.h.
>
> Ok. I'd rather use the union trick then in gthr-win32.h.
Alright. In that case, is the attached patch OK?
As I mentioned, neither <system.h> nor <tsystem.h> are available here
because other top-level libraries that don't have those use this, so we
have to redefine this macro.
I tested this on i386-pc-mingw32 with a bootstrap.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-4.4.0-20080823-gthr2.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080824/3fc86754/attachment.ksh>
More information about the Gcc-patches
mailing list