regexp_exec thread-unsafe

2013-05-14 Thread Ludovic Courtès
Hello, Guile imports Gnulib ‘regexp’ module, and for some reason it gets compiled even on glibc systems. The problem is that Gnulib’s ‘regex_internal.h’ reads this: #if defined _LIBC # include #else # define __libc_lock_init(NAME) do { } while (0) # define __libc_lock_lock(NAME) do {

Re: [libvirt] [PATCH 1/6] Ensure consistent enablement of gcc 'diagnostic' pragma

2013-05-14 Thread Paul Eggert
On 05/13/13 12:16, Eric Blake wrote: > I wonder if gnulib should use something similar, for the > places where it uses pragma gcc push. I hope not. The only place gnulib does a push, is to turn off bogus diagnostics that I hope clang doesn't generate. If I'm wrong I suppose we can add an "|| __c