From mboxrd@z Thu Jan 1 00:00:00 1970 From: arthur_i_schwarz@west.raytheon.com To: gcc-gnats@gcc.gnu.org Subject: bootstrap/4448: make bootstrap failed: gthr-win32.h erroneous Date: Tue, 02 Oct 2001 17:26:00 -0000 Message-id: <20011003001647.29180.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00025.html List-Id: >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: