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

Re: Visual Studio 6 compilation issues (libssh2 1.2.4)

From: Simon Josefsson <>
Date: Wed, 10 Mar 2010 11:07:04 +0100

Mikhail Gusarov <> writes:

> Twas brillig at 09:11:19 10.03.2010 UTC+01 when did gyre and gimble:
> SJ> Agreed. Libssh2 is broken here, the Right Thing is to always use
> SJ> size_t for string lengths. This change will break the ABI if we
> SJ> don't rename all the functions though...
> It will break ABI only for architectures where size_t != unsigned long, right?

Yes... However I think libssh2 is deployed on many such systems already
that we need to care about them.

We _could_ bump the ABI only on the affected platforms, but IMHO
maintaining that will be a pain and the risk for build mistakes are
rather high.

Received on 2010-03-10