some warning when compiling with mingw-w64 (32 bits)
Vincent Torri
vincent.torri at gmail.com
Tue Mar 20 10:50:21 PDT 2012
Hey
with latest d-bus release (1.4.18) :
In file included from dbus-sockets-win.h:36:0,
from dbus-sysdeps-win.c:49:
c:\mingw_efl\mingw-w64-x86_32\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/winsock2.h:15:2
: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
In file included from dbus-spawn-win.c:48:0:
c:\mingw_efl\mingw-w64-x86_32\bin\../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/winsock2.h:15:2
: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
dbus-launch-win.c: In function 'main':
dbus-launch-win.c:162:18: warning: format '%d' expects argument of
type 'int', but argument 3 has type 'DWORD' [-Wformat]
Those 3 warnings are trivial to fix
regards
Vincent
More information about the dbus
mailing list