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
Also, problem is not there with gcc3.5 (that uses
the same ws2tcpip.h file).
I'm lost :)
Christian Anthon <address@hidden>
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
> On Wed, Jun 24, 2009 at 11:31 AM, Massimiliano
> Maini<address@hidden> wrote:
> > Hi all,
> > I've just realized that due to an env varibale mess, I wasn't
> > compiling with gcc43.
> > Now that it's fixed, I do compile with it, but I get the following
> > (compile time):
> > In file included from gnubg.c:89:
> > d:\documents\max\gnubg-build\tools\mingwgcc43\bin\..
> > 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
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/bug-gnubg