diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-10 15:40:34 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-10 15:40:34 -0700 |
| commit | ffacb12679a1e001981c2e0f690b327eda652d04 (patch) | |
| tree | a6e5989e1045ab06da840f4e59e1c58b6a412e52 /src/bytecode.c | |
| parent | 358c19d98cf359287eb7f7028fe79692f054d761 (diff) | |
| download | emacs-ffacb12679a1e001981c2e0f690b327eda652d04.tar.gz | |
* bytecode.c (targets): Suppress -Woverride-init warnings.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 4d3a35ee24d..acdf809971f 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -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 |
