aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2018-05-03 11:15:28 -0700
committerPaul Eggert2018-05-03 11:17:32 -0700
commitef1deb48f4be14956c2fcd5fce947bb301134cf9 (patch)
tree010dde0e5680ea8ed762eaf8cc25a05514209c01 /src
parent8a6521260dc650b4b713ea8bc71348cbe730f6e4 (diff)
downloademacs-ef1deb48f4be14956c2fcd5fce947bb301134cf9.tar.gz
emacs-ef1deb48f4be14956c2fcd5fce947bb301134cf9.zip
More porting to GCC 8 of --enable-gcc-warnings
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu): * lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance): * lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]: No longer const. * src/emacs-module.c: Ignore -Wcast-function-type.
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