aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs-module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index c20902d0729..88049d29cf0 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -36,6 +36,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
36#include <intprops.h> 36#include <intprops.h>
37#include <verify.h> 37#include <verify.h>
38 38
39/* This module is lackadaisical about function casts. */
40#if GNUC_PREREQ (8, 0, 0)
41# pragma GCC diagnostic ignored "-Wcast-function-type"
42#endif
43
39/* We use different strategies for allocating the user-visible objects 44/* We use different strategies for allocating the user-visible objects
40 (struct emacs_runtime, emacs_env, emacs_value), depending on 45 (struct emacs_runtime, emacs_env, emacs_value), depending on
41 whether the user supplied the -module-assertions flag. If 46 whether the user supplied the -module-assertions flag. If