[DGD] DGD 1.5.2
Lord Lerkista
lerkista at gmail.com
Wed Feb 3 02:22:53 CET 2016
Hi
I'm trying to compile DGD 1.5.2 in Cygwin, i have this errors:
c++ -I. -I.. -DDARWIN -g -DDEBUG -c -o connect.o connect.cpp
connect.cpp: In function ‘connection* conn_accept6(int, int)’:
connect.cpp:906:56: error: invalid conversion from ‘unsigned int*’ to
‘socklen_t* {aka int*}’ [-fpermissive]
fd = accept(portfd, (struct sockaddr *) &sin6, &len);
^
In file included from connect.cpp:21:0:
/usr/include/sys/socket.h:25:7: note: initializing argument 3 of ‘int
accept(int, sockaddr*, socklen_t*)’
int accept (int, struct sockaddr *__peer, socklen_t *);
^
connect.cpp: In function ‘connection* conn_accept(int, int)’:
connect.cpp:956:55: error: invalid conversion from ‘unsigned int*’ to
‘socklen_t* {aka int*}’ [-fpermissive]
fd = accept(portfd, (struct sockaddr *) &sin, &len);
^
In file included from connect.cpp:21:0:
/usr/include/sys/socket.h:25:7: note: initializing argument 3 of ‘int
accept(int, sockaddr*, socklen_t*)’
int accept (int, struct sockaddr *__peer, socklen_t *);
^
connect.cpp: In function ‘void conn_udprecv6(int)’:
connect.cpp:1165:42: error: invalid conversion from ‘unsigned int*’ to
‘socklen_t* {aka int*}’ [-fpermissive]
(struct sockaddr *) &from, &fromlen);
^
In file included from connect.cpp:21:0:
/usr/include/sys/socket.h:33:11: note: initializing argument 6 of ‘ssize_t
recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
^
connect.cpp: In function ‘void conn_udprecv(int)’:
connect.cpp:1244:42: error: invalid conversion from ‘unsigned int*’ to
‘socklen_t* {aka int*}’ [-fpermissive]
(struct sockaddr *) &from, &fromlen);
^
In file included from connect.cpp:21:0:
/usr/include/sys/socket.h:33:11: note: initializing argument 6 of ‘ssize_t
recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
^
<builtin>: recipe for target 'connect.o' failed
make[1]: *** [connect.o] Error 1
make[1]: Leaving directory
'/cygdrive/c/Users/Mario/Dropbox/Mud/dgd/src/host'
Makefile:95: recipe for target 'host/dgd' failed
make: *** [host/dgd] Error 2
How can i fix them??
Thanks
On Tue, Dec 15, 2015 at 1:36 AM, Felix A. Croes <felix at dworkin.nl> wrote:
> I have released DGD 1.5.2. The codebase has switched from C to C++,
> and some bugs have been fixed.
>
> https://github.com/dworkin/dgd
>
> Regards,
> Felix Croes
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list