Re: Compilation problems with stat-w32.c

2020-09-17 Thread Eli Zaretskii
> From: Bruno Haible > Cc: Eli Zaretskii > Date: Wed, 16 Sep 2020 23:54:28 +0200 > > You are right on both accounts. Thanks for the reports. Should be fixed > by the two attached patches. Thanks! > > In addition, VOLUME_NAME_NONE is used here, but the Windows headers > > define it only when _W

Re: Compilation problems with stat-w32.c

2020-09-16 Thread Bruno Haible
Hi Eli, You are right on both accounts. Thanks for the reports. Should be fixed by the two attached patches. > This happens because stat-w32.c unconditionally sets _WIN32_WINNT to > the value suitable for Windows 8.0 or later: > > #if defined _WIN32 && ! defined __CYGWIN__ > > /* Ensure tha

Compilation problems with stat-w32.c

2020-09-10 Thread Eli Zaretskii
I've built today's snapshot of GDB on MS-Windows, and bumped into a problem: starting the produced binary on Windows XP fails with this message: The procedure entry point GetFinalPathNameByHandleA could not be located in the dynamic link library KERNEL32.dll. This happens because stat-w