|
From: | Ken Brown |
Subject: | Re: [Emacs-diffs] master cc5325b: Pacify -Wcast-function-type warnings in GCC 8.1 |
Date: | Mon, 20 Aug 2018 09:29:03 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 8/17/2018 10:31 AM, Eli Zaretskii wrote:
branch: master commit cc5325b0bea13bd93478fcee0b035877b3a72290 Author: Andy Moreton <address@hidden> Commit: Eli Zaretskii <address@hidden> Pacify -Wcast-function-type warnings in GCC 8.1* src/w32.h: (get_proc_addr): New function.* src/w32fns.c (setup_w32_kbdhook, Ffile_system_info) * src/w32uniscribe.c (syms_of_w32uniscribe): Use get_proc_addr.
This breaks the Cygwin-w32 build because w32fns.c and w32uniscribe.c don't include w32.h on Cygwin, so get_proc_addr is undefined. Could the definition of get_proc_addr be moved to a different header that gets included in the Cygwin build? Maybe w32common.h?
Ken
[Prev in Thread] | Current Thread | [Next in Thread] |