GNU bug report logs -
#38040
Compiler warnings on win32 build
Previous Next
Reported by: Cecilio Pardo <cpardo <at> imayhem.com>
Date: Sun, 3 Nov 2019 00:37:02 UTC
Severity: wishlist
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#38040: Compiler warnings on win32 build
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 38040 <at> debbugs.gnu.org.
--
38040: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38040
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: Cecilio Pardo <cpardo <at> imayhem.com>
> Cc: Cecilio Pardo <cpardo <at> imayhem.com>, 38040 <at> debbugs.gnu.org
> Date: Sun, 10 Nov 2019 01:03:51 +0100
>
>
> >> Building with mingw64, there are a couple of warnings about wrong data
> >> types that can be avoided:
> >
> > Thanks, I installed a slightly different change, because these types
> > are declared DWORD in mingw.org's MinGW headers. Please see that the
> > warnings are gone in your build.
>
> They are gone. Thanks for fixing this.
Thanks, closing.
[Message part 3 (message/rfc822, inline)]
Severity: wishlist
Tags: patch
Building with mingw64, there are a couple of warnings about wrong data
types that can be avoided:
diff --git a/nt/addpm.c b/nt/addpm.c
index a8bcd4a5c7..ff169f7d87 100644
--- a/nt/addpm.c
+++ b/nt/addpm.c
@@ -56,13 +56,13 @@ #define COBJMACROS 1
#include "../src/epaths.h"
#endif
-HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD,
- DWORD);
+HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, ULONG_PTR,
+ ULONG_PTR);
HDDEDATA CALLBACK
DdeCallback (UINT uType, UINT uFmt, HCONV hconv,
HSZ hsz1, HSZ hsz2, HDDEDATA hdata,
- DWORD dwData1, DWORD dwData2)
+ ULONG_PTR dwData1, ULONG_PTR dwData2)
{
return ((HDDEDATA) NULL);
}
diff --git a/nt/ddeclient.c b/nt/ddeclient.c
index e441700397..a63be13f75 100644
--- a/nt/ddeclient.c
+++ b/nt/ddeclient.c
@@ -21,13 +21,13 @@
#include <stdlib.h>
#include <stdio.h>
-HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD,
- DWORD);
+HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, ULONG_PTR,
+ ULONG_PTR);
HDDEDATA CALLBACK
DdeCallback (UINT uType, UINT uFmt, HCONV hconv,
HSZ hsz1, HSZ hsz2, HDDEDATA hdata,
- DWORD dwData1, DWORD dwData2)
+ ULONG_PTR dwData1, ULONG_PTR dwData2)
{
return ((HDDEDATA) NULL);
}
This bug report was last modified 5 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.