Subject: Re: Visual Studio 6 compilation issues (libssh2 1.2.4)

Re: Visual Studio 6 compilation issues (libssh2 1.2.4)

From: Simon Josefsson <simon_at_josefsson.org>
Date: Tue, 09 Mar 2010 14:18:35 +0100

Steven Van Ingelgem <steven_at_vaningelgem.be> writes:

> Please find hereby errors (and warnings) I receive by compiling the php
> extension php_ssh2 with v1.2.4 of libssh2.
>
>
> Grtz,
> Steven
>
>
>
>
> ext\ssh2\libssh2\src\misc.c(524) : error C2632: 'long' followed by 'long' is
> illegal

This means your compiler doesn't have 'long long', which is curious
because this code is only enabled for Windows. Maybe you could write a
better 'gettimeofday' implementation that works on Windows and without
'long long'?

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-09