Can someone check if the code is compatible with the latest version of the mingw compiler ?
When compiling with the latest version of mingw develop studio i got the following errors in SDLnetUDP.c :
Compiling source file(s)…
GUCEF\SDL_net\SDLnetUDP.c
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c: In function int SDLNet_UDP_Bind(_UDPsocket*, int, IPaddress*)': C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:430: error: cannot convert
_UDPsocket::UDP_channel*’ to UDP_channel*' in assignment C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:431: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:426: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:439: error: cannot convert
_UDPsocket::UDP_channel*’ to UDP_channel*' in assignment C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:441: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:426: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:445: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:426: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:445: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:426: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c: In function
int
SDLNet_UDP_SendV(_UDPsocket*, UDPpacket**, int)’:
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:541: error: invalid conversion from
Uint8*' to
const char*‘
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:556: error: cannot convert _UDPsocket::UDP_channel*' to
UDP_channel*’ in assignment
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:558: error: invalid use of undefined
type struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:492: error: forward declaration of
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:587: error: invalid use of undefined
type struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:492: error: forward declaration of
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:588: error: invalid use of undefined
type struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:492: error: forward declaration of
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:592: error: invalid conversion from
Uint8*' to
const char*‘
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c: In function int SDLNet_UDP_RecvV(_UDPsocket*, UDPpacket**)': C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:719: error: invalid conversion from
Uint8*’ to char*' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:733: error: cannot convert
_UDPsocket::UDP_channel*’ to UDP_channel*' in assignment C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:735: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:673: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:737: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:673: error: forward declaration of struct UDP_channel' C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:738: error: invalid use of undefined type
struct UDP_channel’
C:\GUCE\GUCE_DEV\GUCEF\SDL_net\SDLnetUDP.c:673: error: forward declaration of `
struct UDP_channel’
GreeTz.--------------------------------
| Dinand Vanvelzen, |
| Programmer, |
Software Engineering student |
---|