[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview: portable dumper

From: Paul Eggert
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 14:56:07 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Here are some problems I ran into on Fedora 27 x86-64. Proposed patch attached.

  CC       pdumper.o
In file included from character.h:27:0,
                 from buffer.h:27,
                 from pdumper.c:18:
pdumper.c: In function ‘dump_object_1’:
pdumper.c:2920:70: error: left-hand operand of comma expression has no effect [-Werror=unused-value]            eassert (("should not be dumping int: is self-representing", 0));
lisp.h:195:43: note: in definition of macro ‘eassert’
 # define eassert(cond) ((void) (false && (cond))) /* Check COND compiles.  */
pdumper.c: In function ‘dump_vectorlike’:
pdumper.c:2823:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if ((v->header.size & PSEUDOVECTOR_SIZE_MASK) != FONT_SPEC_MAX &&
pdumper.c:2827:5: note: here
pdumper.c: At top level:
pdumper.c:119:0: error: macro "MAX_OFF_T" is not used [-Werror=unused-macros]
 # define MAX_OFF_T ((sizeof (off_t) == sizeof (int32_t)) ?      \

cc1: all warnings being treated as errors
make[1]: *** [Makefile:386: pdumper.o] Error 1
make[1]: Leaving directory '/home/eggert/src/gnu/emacs/pdumper/src'
make: *** [Makefile:420: src] Error 2

Attachment: 0001-Pacify-pdumper-for-GCC-7.3.1.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]