]> code.delx.au - gnu-emacs/commitdiff
Merge from gnulib (comment changes only).
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Jul 2012 04:16:53 +0000 (21:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Jul 2012 04:16:53 +0000 (21:16 -0700)
lib/verify.h

index cef14ad1571eb64a9f4006f696645b265dbf339f..0c320b19ad478ec40db9c7aec6e28898f9f78554 100644 (file)
        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.
 
      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.  */