I've searched for socklen_t in all gnubg sources + mingw dir + gtk dir 
(all
.c and .h files) and I've found only the typedef in ws2tcpip.h

Also, problem is not there with gcc3.5 (that uses the same ws2tcpip.h 
file).

I'm lost :)

MaX.

Christian Anthon <[email protected]> wrote on 24/06/2009 
12:27:29:

> It is possible that we define socklen_t in the windows config.h. Can't
> check myself right now. Anyway it looks like it is being typedef'ed
> twice.
> 
> Christian.
> 
> On Wed, Jun 24, 2009 at 11:31 AM, Massimiliano
> Maini<[email protected]> wrote:
> >
> > Hi all,
> >
> > I've just realized that due to an env varibale mess, I wasn't really
> > compiling with gcc43.
> >
> > Now that it's fixed, I do compile with it, but I get the following 
error
> > (compile time):
> >
> > In file included from gnubg.c:89:
> > d:\documents\max\gnubg-build\tools\mingwgcc43\bin\..
> /lib/gcc/mingw32/4.3.0/../../../../include/ws2tcpip.h:272:
> > error: two or more data types in declaration specifiers
> > mingw32-make: *** [obj/gnubg.o] Error 1
> >
> >
> > In ws2tcpip.h, line 272 is:
> >
> >         typedef int socklen_t;
> >
> >
> > Also, I've noticed gcc44 is out
> > (http://sourceforge.net/project/shownotes.php?release_id=691876)
> > but I'm not sure if I can safely install it: it requires
> > libiconv-1.13-mingw32-dll-2.tar.gz while in GTK
> > I have libiconv-1.9.1.bin.woe32.zip: will the two conflict ?
> >
> > MaX.
> > _______________________________________________
> > Bug-gnubg mailing list
> > [email protected]
> > http://lists.gnu.org/mailman/listinfo/bug-gnubg
> >
> >
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to