emacs-devel
[Top][All Lists]
Advanced

[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.

Attachment: 0001-src-emacs.c-load_dump-Pacify-GCC-Wjump-misses-init.patch
Description: Text Data


reply via email to

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