bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Win gcc3 / gcc43 / gcc44


From: Christian Anthon
Subject: Re: [Bug-gnubg] Win gcc3 / gcc43 / gcc44
Date: Wed, 24 Jun 2009 15:45:20 +0200

normally socklen_t is defined in sys/socket.h and commenting the
offending line should be quite safe.

Christian.

On Wed, Jun 24, 2009 at 3:17 PM, Massimiliano
Maini<address@hidden> wrote:
>
>
>
>
> 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 <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
>> twice.
>>
>> Christian.
>>
>> 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 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
>> > address@hidden
>> > http://lists.gnu.org/mailman/listinfo/bug-gnubg
>> >
>> >
>




reply via email to

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