emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for warnings in 64bit Windows builds


From: Eli Zaretskii
Subject: Re: Patch for warnings in 64bit Windows builds
Date: Tue, 28 Jul 2015 16:40:14 +0300

> From: Andy Moreton <address@hidden>
> Date: Tue, 28 Jul 2015 12:57:42 +0100
> 
> The 64bit Windows builds have shown a few warnings for some time:
> 
> ../../src/w32proc.c: In function 'w32_compare_strings':
> ../../src/w32proc.c:3526:20: warning: assignment from incompatible pointer 
> type [-Wincompatible-pointer-types]
>     pCompareStringW = GetProcAddress (LoadLibrary ("Unicows.dll"),
>                     ^
> ../../src/w32fns.c: In function 'Ffile_system_info':
> ../../src/w32fns.c:7827:9: warning: initialization from incompatible pointer 
> type [-Wincompatible-pointer-types]
>        = GetProcAddress (hKernel, "GetDiskFreeSpaceExW");
>          ^
> ../../src/w32fns.c:7830:9: warning: initialization from incompatible pointer 
> type [-Wincompatible-pointer-types]
>        = GetProcAddress (hKernel, "GetDiskFreeSpaceExA");
>          ^
> The following patch builds cleanly on:
>   - 32bit mingw
>   - 32bit mingw --with-wide-int
>   - 64bit mingw64

Thanks, pushed.

> I don't have copyright paperwork on file, so please let me know if that
> is required.

Not needed, but you are encouraged to start the paperwork rolling, so
it will be ready for your next contribution.



reply via email to

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