This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/4448: make bootstrap failed: gthr-win32.h erroneous
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/4448: make bootstrap failed: gthr-win32.h erroneous
- From: arthur_i_schwarz at west dot raytheon dot com
- Date: 3 Oct 2001 00:16:47 -0000
- Reply-To: arthur_i_schwarz at west dot raytheon dot com
>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: