diff options
| author | Paul Eggert | 2012-07-21 21:16:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-21 21:16:53 -0700 |
| commit | 894bd8732db202ab5a2dd43cd0e949289b20c3f5 (patch) | |
| tree | 0da7f1ad7286c3c0fce99eaf75f681797ec117f9 /lib | |
| parent | 494913d6debe4b2507d37a165a8be754ab64dbb4 (diff) | |
| download | emacs-894bd8732db202ab5a2dd43cd0e949289b20c3f5.tar.gz emacs-894bd8732db202ab5a2dd43cd0e949289b20c3f5.zip | |
Merge from gnulib (comment changes only).
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/verify.h | 6 |
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 @@ | |||
| 125 | extern int (*dummy (void)) [sizeof (struct {...})]; | 125 | extern int (*dummy (void)) [sizeof (struct {...})]; |
| 126 | 126 | ||
| 127 | * GCC warns about duplicate declarations of the dummy function if | 127 | * GCC warns about duplicate declarations of the dummy function if |
| 128 | -Wredundant_decls is used. GCC 4.3 and later have a builtin | 128 | -Wredundant-decls is used. GCC 4.3 and later have a builtin |
| 129 | __COUNTER__ macro that can let us generate unique identifiers for | 129 | __COUNTER__ macro that can let us generate unique identifiers for |
| 130 | each dummy function, to suppress this warning. | 130 | each dummy function, to suppress this warning. |
| 131 | 131 | ||
| @@ -133,6 +133,10 @@ | |||
| 133 | which do not support _Static_assert, also do not warn about the | 133 | which do not support _Static_assert, also do not warn about the |
| 134 | last declaration mentioned above. | 134 | last declaration mentioned above. |
| 135 | 135 | ||
| 136 | * GCC warns if -Wnested-externs is enabled and verify() is used | ||
| 137 | within a function body; but inside a function, you can always | ||
| 138 | arrange to use verify_expr() instead. | ||
| 139 | |||
| 136 | * In C++, any struct definition inside sizeof is invalid. | 140 | * In C++, any struct definition inside sizeof is invalid. |
| 137 | Use a template type to work around the problem. */ | 141 | Use a template type to work around the problem. */ |
| 138 | 142 | ||