Subject: LIBSSH2 compiling on VS2003.NET

LIBSSH2 compiling on VS2003.NET

From: Lars Nordin <Lars.Nordin_at_sdlabs.se>
Date: Wed, 02 Jun 2010 07:53:00 +0200

I downloaded the latest version, libssh2-1.2.6-20100601, created a
.vcproj file from the libssh2.dsp file, edited include and lib for
OpenSSL and ZLIB and now it compiles clean (almost)

The released 1.2.5 didn't compile, so an improvement!

The compile-varnings:
sftp.c
c:\src\libssh2-1.2.6-20100601\src\sftp.c(2037) : warning C4244: '=' :
conversion from 'libssh2_uint64_t' to 'unsigned int', possible loss of data
c:\src\libssh2-1.2.6-20100601\src\sftp.c(2147) : warning C4244: '=' :
conversion from 'libssh2_uint64_t' to 'unsigned int', possible loss of data
session.c
c:\src\libssh2-1.2.6-20100601\src\session.c(1370) : warning C4018: '>' :
signed/unsigned mismatch
c:\src\libssh2-1.2.6-20100601\src\session.c(1375) : warning C4018: '>' :
signed/unsigned mismatch
scp.c
c:\src\libssh2-1.2.6-20100601\src\scp.c(744) : warning C4244: '=' :
conversion from 'long' to 'unsigned short', possible loss of data

Is anyone working on them, or should I fix them?

Regards
/Lars

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-02