summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-21 21:16:53 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-21 21:16:53 -0700
commit894bd8732db202ab5a2dd43cd0e949289b20c3f5 (patch)
tree0da7f1ad7286c3c0fce99eaf75f681797ec117f9 /lib
parent494913d6debe4b2507d37a165a8be754ab64dbb4 (diff)
downloademacs-894bd8732db202ab5a2dd43cd0e949289b20c3f5.tar.gz
Merge from gnulib (comment changes only).
Diffstat (limited to 'lib')
-rw-r--r--lib/verify.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/verify.h b/lib/verify.h
index cef14ad1571..0c320b19ad4 100644
--- a/lib/verify.h
+++ b/lib/verify.h
@@ -125,7 +125,7 @@
extern int (*dummy (void)) [sizeof (struct {...})];
* GCC warns about duplicate declarations of the dummy function if
- -Wredundant_decls is used. GCC 4.3 and later have a builtin
+ -Wredundant-decls is used. GCC 4.3 and later have a builtin
__COUNTER__ macro that can let us generate unique identifiers for
each dummy function, to suppress this warning.
@@ -133,6 +133,10 @@
which do not support _Static_assert, also do not warn about the
last declaration mentioned above.
+ * GCC warns if -Wnested-externs is enabled and verify() is used
+ within a function body; but inside a function, you can always
+ arrange to use verify_expr() instead.
+
* In C++, any struct definition inside sizeof is invalid.
Use a template type to work around the problem. */