mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 15:52:00 -08:00
; Fix warnings from #pragma GCC iagnostic pop on macOS
* src/comp.c: Add #pragma GCC diagnostic push in some places.
This commit is contained in:
parent
9e6eee36b5
commit
ff57f30bee
1 changed files with 4 additions and 0 deletions
|
|
@ -2626,6 +2626,7 @@ emit_maybe_gc_or_quit (Lisp_Object insn)
|
|||
|
||||
/* This is in charge of serializing an object and export a function to
|
||||
retrieve it at load time. */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Waddress"
|
||||
static void
|
||||
emit_static_object (const char *name, Lisp_Object obj)
|
||||
|
|
@ -4681,6 +4682,7 @@ DEFUN ("comp--release-ctxt", Fcomp__release_ctxt, Scomp__release_ctxt,
|
|||
return Qt;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Waddress"
|
||||
DEFUN ("comp-native-driver-options-effective-p",
|
||||
Fcomp_native_driver_options_effective_p,
|
||||
|
|
@ -4697,6 +4699,7 @@ DEFUN ("comp-native-driver-options-effective-p",
|
|||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Waddress"
|
||||
DEFUN ("comp-native-compiler-options-effective-p",
|
||||
Fcomp_native_compiler_options_effective_p,
|
||||
|
|
@ -4943,6 +4946,7 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
|
|||
return filename;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Waddress"
|
||||
DEFUN ("comp-libgccjit-version", Fcomp_libgccjit_version,
|
||||
Scomp_libgccjit_version, 0, 0, 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue