[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FIX] guile 1.8.6 is broken in libguile/scmsigs.c, 206
From: |
Neil Jerram |
Subject: |
Re: [FIX] guile 1.8.6 is broken in libguile/scmsigs.c, 206 |
Date: |
Thu, 22 Jan 2009 20:44:14 +0000 |
Hi Roland ...
2009/1/22 Roland Haeder <address@hidden>:
> 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.
But please see the definitions of SCM_I_PTHREAD_ONCE_INIT in pthread-threads.h:
#if SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT
#define SCM_I_PTHREAD_ONCE_INIT { PTHREAD_ONCE_INIT }
#else
#define SCM_I_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT
#endif
And we have stuff in configure.in that is supposed to determine
SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT correctly. So the extra set of
braces that you have suggested should not be needed, and we should
instead investigate why the configure.in stuff isn't working.
Is there anything less usual about your platform and/or compiler?
Regards,
Neil