bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing)


From: Nardy Pillards
Subject: Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing)
Date: Thu, 10 Jul 2003 19:54:06 +0200

From: "Holger" <address@hidden>
Sent: Thursday, July 10, 2003 6:27 PM
> At 23:12 09.07.2003 +0200, Nardy Pillards wrote:
>
> >... going to gnubg.c later.
> >still trying to get external.c compiled
>
> Which external.c are you talking of? The one from branch-multi? Here this
> compiles well as it is in CVS. But procunits.c not, though. See thread
> "Compile gnubg-multi on Windows".
>
> Regards,
>
>          Holger

external.c does not compile here.

1. implicit declaration of function `inet_aton'
but that's resolved with Olivier's

#if WIN32
#define inet_aton(ip,addr)  (addr)->s_addr = inet_addr(ip), 1
#define inet_pton(fam,ip,addr) (addr)->s_addr = inet_addr(ip), 1
#endif

2. ExternalRead (line 149) and ExternalWrite (line 196) both want SIGPIPE
I can't find SIGPIPE in MinGW 2

3. Function ExternalSocket
passing arg 4 of `setsockopt' (line 74) from incompatible pointer type
In winsock2.h setsockopt looks like this:
int PASCAL setsockopt(SOCKET,int,int,const char*,int);

Nardy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]