[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109185: Merge from gnulib (comment c
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109185: Merge from gnulib (comment changes only). |
Date: |
Sat, 21 Jul 2012 21:16:53 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109185
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2012-07-21 21:16:53 -0700
message:
Merge from gnulib (comment changes only).
modified:
lib/verify.h
=== modified file 'lib/verify.h'
--- a/lib/verify.h 2012-05-26 23:14:36 +0000
+++ b/lib/verify.h 2012-07-22 04:16:53 +0000
@@ -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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109185: Merge from gnulib (comment changes only).,
Paul Eggert <=