[Bug 42661] New: Notes and warnings while building Wine 64-bit
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Mar 16 15:56:40 CDT 2017
https://bugs.winehq.org/show_bug.cgi?id=42661
Bug ID: 42661
Summary: Notes and warnings while building Wine 64-bit
Product: Wine
Version: 2.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: andrey.goosev at gmail.com
Distribution: ---
GCC 6.3.1 20161221
../../../wine/dlls/setupapi/devinst.c: In function
‘SETUPDI_AllocateDeviceInfo’:
../../../wine/dlls/setupapi/devinst.c:471:26: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
devInfo->devId = (DWORD)devInst;
^
../../../wine/dlls/setupapi/devinst.c: In function ‘SETUPDI_FreeDeviceInfo’:
../../../wine/dlls/setupapi/devinst.c:528:16: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
GlobalFree((HANDLE)devInfo->devId);
^
In file included from ../../../wine/dlls/setupapi/devinst.c:35:0:
../../../wine/dlls/setupapi/devinst.c: In function
‘SetupDiGetDeviceRegistryPropertyA’:
../../../wine/dlls/setupapi/devinst.c:3095:39: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
TRACE("%04x %p %d %p %p %d %p\n", (DWORD)DeviceInfoSet, DeviceInfoData,
^
../../../wine/include/wine/debug.h:91:49: note: in definition of macro
‘__WINE_DBG_LOG’
wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
^~~~
../../../wine/include/wine/debug.h:337:36: note: in expansion of macro
‘__WINE_DPRINTF’
#define WINE_TRACE
__WINE_DPRINTF(_TRACE,__wine_dbch___default)
^~~~~~~~~~~~~~
../../../wine/include/wine/debug.h:381:36: note: in expansion of macro
‘WINE_TRACE’
#define TRACE WINE_TRACE
^~~~~~~~~~
../../../wine/dlls/setupapi/devinst.c:3095:5: note: in expansion of macro
‘TRACE’
TRACE("%04x %p %d %p %p %d %p\n", (DWORD)DeviceInfoSet, DeviceInfoData,
^~~~~
../../../wine/dlls/setupapi/devinst.c: In function
‘SetupDiGetDeviceRegistryPropertyW’:
../../../wine/dlls/setupapi/devinst.c:3156:39: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
TRACE("%04x %p %d %p %p %d %p\n", (DWORD)DeviceInfoSet, DeviceInfoData,
^
../../../wine/include/wine/debug.h:91:49: note: in definition of macro
‘__WINE_DBG_LOG’
wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
^~~~
../../../wine/include/wine/debug.h:337:36: note: in expansion of macro
‘__WINE_DPRINTF’
#define WINE_TRACE
__WINE_DPRINTF(_TRACE,__wine_dbch___default)
^~~~~~~~~~~~~~
../../../wine/include/wine/debug.h:381:36: note: in expansion of macro
‘WINE_TRACE’
#define TRACE WINE_TRACE
^~~~~~~~~~
../../../wine/dlls/setupapi/devinst.c:3156:5: note: in expansion of macro
‘TRACE’
TRACE("%04x %p %d %p %p %d %p\n", (DWORD)DeviceInfoSet, DeviceInfoData,
^~~~~
../../../wine/dlls/setupapi/devinst.c: In function ‘CM_Get_Device_IDA’:
../../../wine/dlls/setupapi/devinst.c:3981:45: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
struct DeviceInfo *devInfo = GlobalLock((HANDLE)dnDevInst);
^
../../../wine/dlls/setupapi/devinst.c: In function ‘CM_Get_Device_IDW’:
../../../wine/dlls/setupapi/devinst.c:3999:45: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
struct DeviceInfo *devInfo = GlobalLock((HANDLE)dnDevInst);
^
../../../wine/dlls/setupapi/devinst.c:4011:18: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
GlobalUnlock((HANDLE)dnDevInst);
^
../../../wine/dlls/setupapi/devinst.c: In function ‘CM_Get_Device_ID_Size’:
../../../wine/dlls/setupapi/devinst.c:4023:47: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
struct DeviceInfo *ppdevInfo = GlobalLock((HANDLE)dnDevInst);
^
../../../wine/dlls/setupapi/devinst.c:4034:18: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
GlobalUnlock((HANDLE)dnDevInst);
^
../../../wine/dlls/winmm/winmm.c: In function ‘MMSYSTEM_GetMidiStream’:
../../../wine/dlls/winmm/winmm.c:944:19: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
*lpMidiStrm = (WINE_MIDIStream*)lpwm->mod.rgIds.dwStreamID;
^
../../../wine/dlls/winmm/winmm.c: In function
‘MMSYSTEM_MidiStream_MessageHandler’:
../../../wine/dlls/winmm/winmm.c:1068:54: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
((LPMIDIEVENT)lpData)->dwStreamID != (DWORD)lpMidiStrm) {
^
../../../wine/dlls/winmm/winmm.c: In function ‘midiStreamOpen’:
../../../wine/dlls/winmm/winmm.c:1276:23: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
mosm.dwStreamID = (DWORD)lpMidiStrm;
^
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list