From: Bruno H. <br...@cl...> - 2005-03-10 12:09:47
|
This warning clutters up the build log. gcc -Dppc -g -Wall -O2 -no-cpp-precomp -I. -c -o thread.o thread.c thread.c: In function `initial_thread_trampoline': thread.c:36: warning: unused variable `args' thread.c: In function `create_thread_struct': thread.c:182: warning: assignment from incompatible pointer type Here is a fix. *** sbcl-0.8.20/src/runtime/thread.c.bak Thu Jan 6 13:48:04 2005 --- sbcl-0.8.20/src/runtime/thread.c Sun Mar 6 13:15:01 2005 *************** *** 179,185 **** bind_variable(INTERRUPT_PENDING, NIL,th); bind_variable(INTERRUPTS_ENABLED,T,th); ! th->interrupt_data=os_validate(0,(sizeof (struct interrupt_data))); if(all_threads) memcpy(th->interrupt_data, arch_os_get_current_thread()->interrupt_data, --- 179,186 ---- bind_variable(INTERRUPT_PENDING, NIL,th); bind_variable(INTERRUPTS_ENABLED,T,th); ! th->interrupt_data = ! (struct interrupt_data *) os_validate(0,(sizeof (struct interrupt_data))); if(all_threads) memcpy(th->interrupt_data, arch_os_get_current_thread()->interrupt_data, |