mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-25 05:52:42 -08:00
* bytecode.c (targets): Suppress -Woverride-init warnings.
This commit is contained in:
parent
358c19d98c
commit
ffacb12679
2 changed files with 12 additions and 0 deletions
|
|
@ -660,6 +660,11 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
|
|||
the table clearer. */
|
||||
#define LABEL(OP) [OP] = &&insn_ ## OP
|
||||
|
||||
#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Woverride-init"
|
||||
#endif
|
||||
|
||||
/* This is the dispatch table for the threaded interpreter. */
|
||||
static const void *const targets[256] =
|
||||
{
|
||||
|
|
@ -670,6 +675,11 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
|
|||
BYTE_CODES
|
||||
#undef DEFINE
|
||||
};
|
||||
|
||||
#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue