Hi,
I am trying to compile gnustep and I have some remarks :
Making all for subproject win32...
Compiling file GSFileHandle.m ...
In file included from
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windows.h:64:0,
from .././GNUstepBase/GSConfig.h:276,
from .././common.h:31,
from GSFileHandle.m:27:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/wincon.h:324:3:
error: unknown type name 'BOOL'
I had to change the BOOL inside the wincon.h into WINBOOL :
WINBOOL bFullscreenSupported;
and I have some other errors but maybe it comes from the order of some
includes that should be changed when using mingw64 instead of mingw...
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/wincon.h:324:3:
error: unknown type name 'BOOL'
In file included from GSFileHandle.m:34:0:
../GSFileHandle.h:71:3: error: unknown type name 'WSAEVENT'
In file included from ../GSNetwork.h:44:0,
from GSFileHandle.m:46:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:15:2:
warning: #warning Please include winsock2.h before windows.h [-Wcpp]
GSFileHandle.m: In function '-[GSFileHandle finalize]':
GSFileHandle.m:281:8: warning: passing argument 1 of 'WSACloseEvent'
makes pointer from integer without a cast [enabled by default]
In file included from ../GSNetwork.h:44:0,
from GSFileHandle.m:46:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:1044:38:
note: expected 'HANDLE' but argument is of type 'int'
GSFileHandle.m:282:14: warning: assignment makes integer from pointer
without a cast [enabled by default]
GSFileHandle.m: In function '-[GSFileHandle
initAsClientInBackgroundAtAddress:service:protocol:forModes:]':
GSFileHandle.m:770:3: warning: passing argument 1 of 'setAddr:' from
incompatible pointer type [enabled by default]
GSFileHandle.m:770:3: note: expected 'struct sockaddr *' but argument
is of type 'struct sockaddr_in *'
GSFileHandle.m: In function '-[GSFileHandle
initAsServerAtAddress:service:protocol:]':
GSFileHandle.m:944:7: warning: passing argument 1 of 'setAddr:' from
incompatible pointer type [enabled by default]
GSFileHandle.m:944:7: note: expected 'struct sockaddr *' but argument
is of type 'struct sockaddr_in *'
GSFileHandle.m: In function '-[GSFileHandle
initWithFileDescriptor:closeOnDealloc:]':
GSFileHandle.m:1154:17: warning: assignment makes integer from pointer
without a cast [enabled by default]
GSFileHandle.m:1155:21: warning: comparison between pointer and integer
[enabled by default]
GSFileHandle.m:1160:11: warning: passing argument 2 of 'WSAEventSelect'
makes pointer from integer without a cast [enabled by default]
In file included from ../GSNetwork.h:44:0,
from GSFileHandle.m:46:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:1052:34:
note: expected 'HANDLE' but argument is of type 'int'
GSFileHandle.m:1164:10: warning: assignment makes integer from pointer
without a cast [enabled by default]
GSFileHandle.m: In function '-[GSFileHandle closeFile]':
GSFileHandle.m:1612:7: warning: passing argument 1 of 'WSACloseEvent'
makes pointer from integer without a cast [enabled by default]
In file included from ../GSNetwork.h:44:0,
from GSFileHandle.m:46:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:1044:38:
note: expected 'HANDLE' but argument is of type 'int'
GSFileHandle.m:1613:13: warning: assignment makes integer from pointer
without a cast [enabled by default]
GSFileHandle.m: In function '-[GSFileHandle postReadNotification]':
GSFileHandle.m:1699:13: warning: variable 'modes' set but not used
[-Wunused-but-set-variable]
GSFileHandle.m: In function '-[GSFileHandle postWriteNotification]':
GSFileHandle.m:1725:13: warning: variable 'modes' set but not used
[-Wunused-but-set-variable]
GSFileHandle.m: In function '-[GSFileHandle ignoreReadDescriptor]':
GSFileHandle.m:1782:13: warning: comparison between pointer and integer
[enabled by default]
GSFileHandle.m: In function '-[GSFileHandle ignoreWriteDescriptor]':
GSFileHandle.m:1835:13: warning: comparison between pointer and integer
[enabled by default]
GSFileHandle.m: In function '-[GSFileHandle
watchReadDescriptorForModes:]':
GSFileHandle.m:1881:13: warning: comparison between pointer and integer
[enabled by default]
GSFileHandle.m: In function '-[GSFileHandle watchWriteDescriptor]':
GSFileHandle.m:1932:17: warning: comparison between pointer and integer
[enabled by default]
GSFileHandle.m: In function '-[GSFileHandle receivedEventRead]':
GSFileHandle.m:2008:4: warning: passing argument 1 of 'setAddr:' from
incompatible pointer type [enabled by default]
GSFileHandle.m:2008:4: note: expected 'struct sockaddr *' but argument
is of type 'struct sockaddr_in *'
GSFileHandle.m: In function '-[GSFileHandle
receivedEvent:type:extra:forMode:]':
GSFileHandle.m:2228:2: warning: passing argument 2 of
'WSAEnumNetworkEvents' makes pointer from integer without a cast
[enabled by default]
In file included from ../GSNetwork.h:44:0,
from GSFileHandle.m:46:
c:\developer\maxgw\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:1049:34:
note: expected 'HANDLE' but argument is of type 'int'
GSFileHandle.m: In function '-[GSFileHandle setAddr:]':
GSFileHandle.m:2310:1: warning: conflicting types for
'-(void)setAddr:(sockaddr_in *)sin' [enabled by default]
In file included from GSFileHandle.m:34:0:
../GSFileHandle.h:109:27: note: previous declaration of
'-(void)setAddr:(sockaddr *)sin'
make[5]: *** [obj/win32.obj/GSFileHandle.m.o] Error 1
make[4]: *** [internal-subproject-all_] Error 2
make[3]: *** [win32.all.subproject.variables] Error 2
make[2]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public