Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Relican\Desktop\sdl doom source code>make
- makefile:163: warning: overriding commands for target `.s.o'
- makefile:160: warning: ignoring old commands for target `.s.o'
- gcc -DPACKAGE=\"sdldoom\" -DVERSION=\"1.10\" -I. -I. -g -O2 -I/usr/local/cross-tools/i386-mingw32/include -I{prefix}/include/SDL-Dmain=SDL_main -c i_net.c
- In file included from d_ticcmd.h:26:0,
- from i_system.h:26,
- from i_net.c:59:
- doomtype.h:41:28: error: conflicting types for 'boolean'
- typedef enum {false, true} boolean;
- ^
- In file included from ./wtypes.h:8:0,
- from ./winscard.h:10,
- from ./windows.h:97,
- from i_net.c:52:
- ./rpcndr.h:65:25: note: previous declaration of 'boolean' was here
- typedef unsigned char boolean;
- ^
- i_net.c:110:17: error: 'IPPORT_USERRESERVED' undeclared here (not in a function)
- int DOOMPORT = (IPPORT_USERRESERVED +0x1d );
- ^
- i_net.c: In function 'PacketSend':
- i_net.c:183:30: warning: passing argument 2 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types]
- c = sendto (sendsocket , &sw, doomcom->datalength
- ^
- In file included from ./windows.h:92:0,
- from i_net.c:52:
- ./winsock.h:302:34: note: expected 'const char *' but argument is of type 'doomdata_t * {aka struct <anonymous> *}'
- WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
- ^
- i_net.c: In function 'PacketGet':
- i_net.c:204:29: warning: passing argument 2 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types]
- c = recvfrom (insocket, &sw, sizeof(sw), 0
- ^
- In file included from ./windows.h:92:0,
- from i_net.c:52:
- ./winsock.h:297:34: note: expected 'char *' but argument is of type 'doomdata_t * {aka struct <anonymous> *}'
- WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
- ^
- make: *** [i_net.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement