Subject: Re: Compile error in examples under MinGW

Re: Compile error in examples under MinGW

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Dec 2010 19:14:30 +0100 (CET)

On Fri, 10 Dec 2010, Luis Lavena wrote:

> Anyhow, there is a problem compiling examples:

> In file included from direct_tcpip.c:2:0:
> ../include/libssh2.h:134:16: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'libssh2_socket_t'
> ../include/libssh2.h:447:43: error: expected declaration specifiers or
> '...' before 'libssh2_socket_t'

> Anyone seen this too?

I don't use windows so I've not seen this. Does this happen because the
windows.h and family headers are included after and not before libssh.h?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-11