bug-gnulib
[Top][All Lists]
Advanced

[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: Paul Eggert
Subject: Re: New warnings on emacs-26 branch with gcc 8.2.0
Date: Tue, 14 Aug 2018 15:32:44 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 08/14/2018 02:20 PM, Andy Moreton wrote:
There is also one function cast warning from gnulib code:
C:/emacs/git/emacs/master/lib/gettimeofday.c: In function 'initialize':
C:/emacs/git/emacs/master/lib/gettimeofday.c:48:9: warning: cast between 
incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'void 
(*)(FILETIME *)' {aka 'void (*)(struct _FILETIME *)'} [-Wcast-function-type]
          (GetSystemTimePreciseAsFileTimeFuncType) GetProcAddress (kernel32, 
"GetSystemTimePreciseAsFileTime");
          ^


Forwarding this snippet to bug-gnulib so that Bruno Haible can see it, as he's the MS-Windows expert. Bruno, the original email is here:

https://lists.gnu.org/r/emacs-devel/2018-08/msg00468.html




reply via email to

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