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 385c3089a90..956706cf9f5 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -41,6 +41,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
41# pragma GCC diagnostic ignored "-Wclobbered" 41# pragma GCC diagnostic ignored "-Wclobbered"
42#endif 42#endif
43 43
44/* This module is lackadaisical about function casts. */
45#if GNUC_PREREQ (8, 0, 0)
46# pragma GCC diagnostic ignored "-Wcast-function-type"
47#endif
48
44/* We use different strategies for allocating the user-visible objects 49/* We use different strategies for allocating the user-visible objects
45 (struct emacs_runtime, emacs_env, emacs_value), depending on 50 (struct emacs_runtime, emacs_env, emacs_value), depending on
46 whether the user supplied the -module-assertions flag. If 51 whether the user supplied the -module-assertions flag. If