|
From: | Roland Haeder |
Subject: | [Fwd: [FIX] guile 1.8.6 is broken in libguile/scmsigs.c, 206] |
Date: | Thu, 22 Jan 2009 02:58:13 +0000 |
Here are more to fix: threads.c: In function `block_self': threads.c:231: warning: passing arg 3 of `scm_pthread_cond_timedwait' from incompatible pointer type threads.c: At top level: threads.c:545: warning: missing braces around initializer threads.c:545: warning: (near initialization for `init_thread_key_once.__pthread_once_pad') threads.c:1509: error: conflicting types for 'scm_pthread_cond_timedwait' ../libguile/threads.h:208: error: previous declaration of 'scm_pthread_cond_timedwait' was here threads.c:1509: error: conflicting types for 'scm_pthread_cond_timedwait' ../libguile/threads.h:208: error: previous declaration of 'scm_pthread_cond_timedwait' was here threads.c: In function `scm_pthread_cond_timedwait': threads.c:1511: warning: passing arg 3 of `pthread_cond_timedwait' from incompatible pointer type make[3]: *** [libguile_la-threads.lo] Error 1 That one at line 545 should be this: static scm_i_pthread_once_t init_thread_key_once = {SCM_I_PTHREAD_ONCE_INIT}; Again braces are left out. :) The others, I have no idea. I'm not experienced in C, just trying it out. Regards, Roland
--- Begin Message ---Subject: [FIX] guile 1.8.6 is broken in libguile/scmsigs.c, 206 Date: Thu, 22 Jan 2009 02:48:49 +0000 Hi, in the above mentioned line you should better type: static scm_i_pthread_once_t once = {SCM_I_PTHREAD_ONCE_INIT}; That braces around the initializer are absend which is also my C compiler is complaining about. If I found more, I let you know. :) Regards, Roland
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |