[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
case PVEC_NORMAL_VECTOR:
^~~~
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
0001-Pacify-pdumper-for-GCC-7.3.1.patch
Description: Text Data
- Re: Preview: portable dumper, (continued)
Re: Preview: portable dumper, Charles A. Roelli, 2018/02/17
Re: Preview: portable dumper, Andy Moreton, 2018/02/19
Re: Preview: portable dumper, Stefan Monnier, 2018/02/14
Re: Preview: portable dumper, Paul Eggert, 2018/02/15
Re: Preview: portable dumper, andres . ramirez, 2018/02/15
Re: Preview: portable dumper, Daniele Nicolodi, 2018/02/19
Re: Preview: portable dumper, Angelo Graziosi, 2018/02/13