Paul Eggert wrote: > This sort of macro will cause warnings with GCC and other compilers > if you use it in a context like this: > > if (foo) > gl_tls_key_init (name, destructor); > > because the compiler will warn about possible if-then-else nesting > problems. The usual do { ... } while (0) construct avoids this > problem.
OK, I committed the module and added the do {...} while (0). Thanks. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib