Subject: Re: Windows Warnings

Re: Windows Warnings

From: Narayan Subramanian <>
Date: Wed, 26 Jun 2019 10:49:18 +0000

Actually attaching the warnings file

From: Narayan Subramanian <>
Date: Wednesday, 26 June 2019 at 4:15 PM
To: "" <>
Subject: Windows Warnings

Though Windows builds fine, there are SEVERAL build warnings. Is this normal?

FYI, I am using Visual Studio 2017 and libssh2 1.9.

I have attached the log file.
Most of the warnings are data conversion / truncation warnings. E.g:

E:\libssh2\src\knownhost.c(174): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data

These shouldn’t be difficult to fix. Should we work towards fixing these? I don’t mind contributing towards this. These may be reviewed and tested.



Received on 2019-06-26