This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bootstrap/4448: make bootstrap failed: gthr-win32.h erroneous



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]