[sr #107827] Build GnuTLS 3.0.2 for windows!
Vincent Torri
vincent.torri at gmail.com
Tue Oct 4 16:50:46 CEST 2011
On Tue, Oct 4, 2011 at 3:22 PM, Nikos Mavrogiannopoulos <nmav at gnu.org>wrote:
> 2011/10/4 Vincent Torri <vincent.torri at gmail.com>:
>
> >> <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20111004/92af810f/attachment.htm>
More information about the Gnutls-devel
mailing list