Following through on the suggestion from the message at

http://lists.gnu.org/archive/html/bug-guile/2007-08/msg00014.html

configure does indeed decide that no braces are needed:

configure:42049: checking whether PTHREAD_ONCE_INIT needs braces
configure:42075: gcc -m32 -c -D_REENTRANT -pthreads -g -O2 -I//grid/gro/vol/    
gbl_statcomp_devel/sparc-32-solaris/bootstrap/include  conftest.c >&5
configure:42081: $? = 0 
configure:42096: result: no

But the lack of them does cause the build to fail:

scmsigs.c: In function `ensure_signal_delivery_thread':
scmsigs.c:207: warning: missing braces around initializer
scmsigs.c:207: warning: (near initialization for `once.__pthread_once_pad')
make[3]: *** [libguile_la-scmsigs.lo] Error 1

-- 
Poor Yorick





_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to