[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ff57f30bee: ; Fix warnings from #pragma GCC iagnostic pop on macO
From: |
Gerd Moellmann |
Subject: |
master ff57f30bee: ; Fix warnings from #pragma GCC iagnostic pop on macOS |
Date: |
Sat, 30 Jul 2022 11:38:31 -0400 (EDT) |
branch: master
commit ff57f30bee778fe34bfbcc518ac9c326fbb9103e
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>
; Fix warnings from #pragma GCC iagnostic pop on macOS
* src/comp.c: Add #pragma GCC diagnostic push in some places.
---
src/comp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/comp.c b/src/comp.c
index 81d27299fa..21d2ee5300 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ff57f30bee: ; Fix warnings from #pragma GCC iagnostic pop on macOS,
Gerd Moellmann <=