gnutls-devel
[Top][All Lists]
Advanced

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

Re: [sr #107827] Build GnuTLS 3.0.2 for windows!


From: Vincent Torri
Subject: Re: [sr #107827] Build GnuTLS 3.0.2 for windows!
Date: Tue, 4 Oct 2011 16:50:46 +0200



On Tue, Oct 4, 2011 at 3:22 PM, Nikos Mavrogiannopoulos <address@hidden> wrote:
2011/10/4 Vincent Torri <address@hidden>:

>> <sys/select.h> is not available under windows, it tried with <winsock2.h>
>> where select in define for windows but it did not help.
> use MSDN:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx
> select() is declared when winsock2.h is included.
[...]
> I don't understand why there are problems. I use select() for a project I'm
> working on without any issue. I just include winsock2.h on Windows:

It was gnulib that caused that. It seems it is defining select to an
unknown symbol unless a "proper" header is included.

Ok. In case it might interest you, for that kind of error, clang is very good. I had similar problems and clang reported in the error message where the other declaration was done.

Vincent Torri

reply via email to

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