bootstrap/4448: make bootstrap failed: gthr-win32.h erroneous
arthur_i_schwarz@west.raytheon.com
arthur_i_schwarz@west.raytheon.com
Tue Oct 2 17:26:00 GMT 2001
>Number: 4448
>Category: bootstrap
>Synopsis: make bootstrap failed: gthr-win32.h erroneous
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 02 17:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: arthur schwarz
>Release: gcc-3.0.1
>Organization:
>Environment:
cygwin under WinNT
>Description:
/gcc-3.0.1/gcc/gthr-win32.h: ExitThread(__gthread_objc_thread_exit_status);
__gthread_objc_thread_exit_status: undefined
>How-To-Repeat:
[1] configure --enable-threads=win32
[2] make bootstrap
>Fix:
/* Terminate the current thread. */
int
__gthread_objc_thread_exit(void)
{
DWORD __gthread_objc_thread_exit_status; /* <== fix */
/* exit the thread */
ExitThread( __gthread_objc_thread_exit_status);
/* Failed if we reached here */
return -1;
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list