[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New warnings on emacs-26 branch with gcc 8.2.0
From: |
Eli Zaretskii |
Subject: |
Re: New warnings on emacs-26 branch with gcc 8.2.0 |
Date: |
Fri, 17 Aug 2018 17:32:13 +0300 |
> From: Andy Moreton <address@hidden>
> Date: Tue, 14 Aug 2018 13:59:08 +0100
>
> The attached patch fixes the -Wcast-function-type warnings when building
> on Windows MSYS2 64bit (GCC 8.2.0) with "-Og". Theere is one remaining
> compiler warning:
>
> C:/emacs/git/emacs/master/src/w32fns.c: In function 'Fw32_read_registry':
> C:/emacs/git/emacs/master/src/w32fns.c:10142:21: warning: 'rootkey' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> Lisp_Object val = w32_read_registry (NILP (root)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ? HKEY_CURRENT_USER
> ~~~~~~~~~~~~~~~~~~~
> : rootkey,
> ~~~~~~~~~~
> key, name);
> ~~~~~~~~~~
Thanks, pushed to the master branch. I just made the new function's
name a bit shorter.
- Re: New warnings on emacs-26 branch with gcc 8.2.0, (continued)
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Bruno Haible, 2018/08/18
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Bruno Haible, 2018/08/18
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Eli Zaretskii, 2018/08/18
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Yuri Khan, 2018/08/19
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Bruno Haible, 2018/08/19
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Richard Stallman, 2018/08/19
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Andy Moreton, 2018/08/20
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Richard Stallman, 2018/08/20
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Paul Eggert, 2018/08/20
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Richard Stallman, 2018/08/22
- Re: New warnings on emacs-26 branch with gcc 8.2.0,
Eli Zaretskii <=
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Andy Moreton, 2018/08/17
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Eli Zaretskii, 2018/08/17
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Andy Moreton, 2018/08/17
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Eli Zaretskii, 2018/08/18
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Paul Eggert, 2018/08/11
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Andy Moreton, 2018/08/15
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Paul Eggert, 2018/08/16
- Re: New warnings on emacs-26 branch with gcc 8.2.0, Eli Zaretskii, 2018/08/17