From: Paul Eggert Date: Fri, 16 Feb 2018 00:12:15 +0000 (-0800) Subject: Pacify pdumper for GCC 7.3.1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb4cb4e9fb280396b081fdb7ecb87f10861e1179;p=emacs.git Pacify pdumper for GCC 7.3.1 --- diff --git a/src/pdumper.c b/src/pdumper.c index 499c8dc27c7..a05b2c47ce1 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -115,11 +115,6 @@ verify (sizeof (off_t) == sizeof (int32_t) || sizeof (off_t) == sizeof (int64_t)); verify (CHAR_BIT == 8); -#ifndef MAX_OFF_T -# define MAX_OFF_T ((sizeof (off_t) == sizeof (int32_t)) ? \ - INT32_MAX : INT64_MAX) -#endif - #define DIVIDE_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) static const char dump_magic[16] = { @@ -2823,7 +2818,7 @@ dump_vectorlike (struct dump_context *ctx, const struct Lisp_Vector *v) if ((v->header.size & PSEUDOVECTOR_SIZE_MASK) != FONT_SPEC_MAX && (v->header.size & PSEUDOVECTOR_SIZE_MASK) != FONT_ENTITY_MAX) error_unsupported_dump_object(ctx, lv, "font"); - /* Fall through */ + FALLTHROUGH; case PVEC_NORMAL_VECTOR: case PVEC_COMPILED: case PVEC_CHAR_TABLE: @@ -2917,7 +2912,7 @@ dump_object_1 (struct dump_context *ctx, Lisp_Object object) offset = dump_float (ctx, XFLOAT (object)); break; case_Lisp_Int: - eassert (("should not be dumping int: is self-representing", 0)); + eassert ("should not be dumping int: is self-representing" && 0); default: emacs_abort (); }