diff options
author | Tom Tromey <tromey@redhat.com> | 2013-06-03 12:25:05 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-06-03 12:25:05 -0600 |
commit | 68359abba96d7ec4db8aab3d3dd9cf1105c3bab5 (patch) | |
tree | 862703e7e1a1888170136a8296a5750d6b2ae2eb /src/bytecode.c | |
parent | cbcba8ce7f980b01c18c0fd561ef6687b1361507 (diff) | |
parent | e2d8a6f0a229b4ebe26484b892ec4f14888f58b6 (diff) | |
download | emacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.tar.gz |
merge from trunk; clean up some issues
Diffstat (limited to 'src/bytecode.c')
-rw-r--r-- | src/bytecode.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 45fe5d49154..9e5f4d1434f 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -657,9 +657,12 @@ 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__ +#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Woverride-init" +#elif defined __clang__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Winitializer-overrides" #endif /* This is the dispatch table for the threaded interpreter. */ @@ -673,7 +676,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, #undef DEFINE }; -#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ +#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) || defined __clang__ # pragma GCC diagnostic pop #endif |