[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: |
Sun, 19 Aug 2018 05:44:11 +0300 |
> From: Bruno Haible <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden, address@hidden
> Date: Sun, 19 Aug 2018 02:17:52 +0200
>
> > diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c
> > index bff40d7..36b5074 100644
> > --- a/lib/gettimeofday.c
> > +++ b/lib/gettimeofday.c
> > @@ -33,6 +33,10 @@
> >
> > #ifdef WINDOWS_NATIVE
> >
> > +/* Avoid warnings from gcc -Wcast-function-type. */
> > +# define GetProcAddress \
> > + (void *) GetProcAddress
> > +
> > /* GetSystemTimePreciseAsFileTime was introduced only in Windows 8. */
> > typedef void (WINAPI * GetSystemTimePreciseAsFileTimeFuncType) (FILETIME
> > *lpTime);
> > static GetSystemTimePreciseAsFileTimeFuncType
> > GetSystemTimePreciseAsFileTimeFunc = NULL;
>
> Tested and pushed to gnulib.
Thank you.
- 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, Paul Eggert, 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, Paul Eggert, 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, Paul Eggert, 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
Message not availableRe: 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