diff options
| author | Gerd Möllmann | 2022-07-30 17:36:27 +0200 |
|---|---|---|
| committer | Gerd Möllmann | 2022-07-30 17:36:27 +0200 |
| commit | ff57f30bee778fe34bfbcc518ac9c326fbb9103e (patch) | |
| tree | da648f54837797ac88df288077326fb6e2921021 /src/comp.c | |
| parent | 9e6eee36b5af2e2b719bca0279a063cfbeef2042 (diff) | |
| download | emacs-ff57f30bee778fe34bfbcc518ac9c326fbb9103e.tar.gz emacs-ff57f30bee778fe34bfbcc518ac9c326fbb9103e.zip | |
; Fix warnings from #pragma GCC iagnostic pop on macOS
* src/comp.c: Add #pragma GCC diagnostic push in some places.
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/comp.c b/src/comp.c index 81d27299fa4..21d2ee5300b 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2626,6 +2626,7 @@ emit_maybe_gc_or_quit (Lisp_Object insn) | |||
| 2626 | 2626 | ||
| 2627 | /* This is in charge of serializing an object and export a function to | 2627 | /* This is in charge of serializing an object and export a function to |
| 2628 | retrieve it at load time. */ | 2628 | retrieve it at load time. */ |
| 2629 | #pragma GCC diagnostic push | ||
| 2629 | #pragma GCC diagnostic ignored "-Waddress" | 2630 | #pragma GCC diagnostic ignored "-Waddress" |
| 2630 | static void | 2631 | static void |
| 2631 | emit_static_object (const char *name, Lisp_Object obj) | 2632 | emit_static_object (const char *name, Lisp_Object obj) |
| @@ -4681,6 +4682,7 @@ DEFUN ("comp--release-ctxt", Fcomp__release_ctxt, Scomp__release_ctxt, | |||
| 4681 | return Qt; | 4682 | return Qt; |
| 4682 | } | 4683 | } |
| 4683 | 4684 | ||
| 4685 | #pragma GCC diagnostic push | ||
| 4684 | #pragma GCC diagnostic ignored "-Waddress" | 4686 | #pragma GCC diagnostic ignored "-Waddress" |
| 4685 | DEFUN ("comp-native-driver-options-effective-p", | 4687 | DEFUN ("comp-native-driver-options-effective-p", |
| 4686 | Fcomp_native_driver_options_effective_p, | 4688 | Fcomp_native_driver_options_effective_p, |
| @@ -4697,6 +4699,7 @@ DEFUN ("comp-native-driver-options-effective-p", | |||
| 4697 | } | 4699 | } |
| 4698 | #pragma GCC diagnostic pop | 4700 | #pragma GCC diagnostic pop |
| 4699 | 4701 | ||
| 4702 | #pragma GCC diagnostic push | ||
| 4700 | #pragma GCC diagnostic ignored "-Waddress" | 4703 | #pragma GCC diagnostic ignored "-Waddress" |
| 4701 | DEFUN ("comp-native-compiler-options-effective-p", | 4704 | DEFUN ("comp-native-compiler-options-effective-p", |
| 4702 | Fcomp_native_compiler_options_effective_p, | 4705 | Fcomp_native_compiler_options_effective_p, |
| @@ -4943,6 +4946,7 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, | |||
| 4943 | return filename; | 4946 | return filename; |
| 4944 | } | 4947 | } |
| 4945 | 4948 | ||
| 4949 | #pragma GCC diagnostic push | ||
| 4946 | #pragma GCC diagnostic ignored "-Waddress" | 4950 | #pragma GCC diagnostic ignored "-Waddress" |
| 4947 | DEFUN ("comp-libgccjit-version", Fcomp_libgccjit_version, | 4951 | DEFUN ("comp-libgccjit-version", Fcomp_libgccjit_version, |
| 4948 | Scomp_libgccjit_version, 0, 0, 0, | 4952 | Scomp_libgccjit_version, 0, 0, 0, |