diff options
author | Eric Blake <eblake@redhat.com> | 2012-07-20 16:48:46 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-07-20 16:48:46 -0600 |
commit | 6c37e0a73c7c1b6fe6eac4d794e2e65791a2700d (patch) | |
tree | 39b41f52dbaecacdebc5f9f5620cf0f2a750ef0c /ChangeLog | |
parent | 92875a6a65e0dbb960d2b0704f6240d4a6e25936 (diff) | |
download | gnulib-6c37e0a73c7c1b6fe6eac4d794e2e65791a2700d.tar.gz |
verify: document conflict with -Wnested-externs
Our implementation of verify() relies on nested extern declarations,
so it is incompatible with gcc < 4.6 coupled with -Wnested-externs
when used inside a function body. But inside a function body, you
can always arrange to use verify_expr() instead, which is warning-free.
* lib/verify.h: Give hint about usage when gcc warnings are enabled.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2012-07-20 Eric Blake <eblake@redhat.com> + verify: document conflict with -Wnested-externs + * lib/verify.h: Give hint about usage when gcc warnings are enabled. + maint.mk: forbid exit(-1) * top/maint.mk (sc_prohibit_magic_number_exit): Detect negatives. |