[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:35:43 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
I had the following problem on Fedora 27 when building the pdumper
branch just now:
CC emacs.o
emacs.c: In function ‘load_dump’:
emacs.c:771:5: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto out;
^~~~
emacs.c:817:2: note: label ‘out’ defined here
out:
^~~
emacs.c:800:15: note: ‘path_exec’ declared here
const char *path_exec = PATH_EXEC;
^~~~~~~~~
emacs.c:788:5: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto out;
^~~~
emacs.c:817:2: note: label ‘out’ defined here
out:
^~~
emacs.c:800:15: note: ‘path_exec’ declared here
const char *path_exec = PATH_EXEC;
^~~~~~~~~
cc1: all warnings being treated as errors
The attached patch fixes it.
0001-src-emacs.c-load_dump-Pacify-GCC-Wjump-misses-init.patch
Description: Text Data
Re: Preview: portable dumper, Stefan Monnier, 2018/02/14
Re: Preview: portable dumper,
Paul Eggert <=
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
- Re: Preview: portable dumper, Angelo Graziosi, 2018/02/13
- Re: Preview: portable dumper, Daniel Colascione, 2018/02/14
- Re: Preview: portable dumper, Eli Zaretskii, 2018/02/14
- Re: Preview: portable dumper, Angelo Graziosi, 2018/02/16
- Re: Preview: portable dumper, Daniel Colascione, 2018/02/16
- Re: Preview: portable dumper, Eli Zaretskii, 2018/02/17