Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ffacb126
Commit
ffacb126
authored
Jul 10, 2012
by
Paul Eggert
Browse files
* bytecode.c (targets): Suppress -Woverride-init warnings.
parent
358c19d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/bytecode.c
src/bytecode.c
+10
-0
No files found.
src/ChangeLog
View file @
ffacb126
2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
* bytecode.c (targets): Suppress -Woverride-init warnings.
Simplify by avoiding confusing use of strncpy etc.
* doc.c (Fsnarf_documentation):
* fileio.c (Ffile_name_directory, Fsubstitute_in_file_name):
...
...
src/bytecode.c
View file @
ffacb126
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment