Subject: Re: Windows Warnings

Re: Windows Warnings

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

Actually attaching the warnings file

From: Narayan Subramanian <Narayan.Subramanian_at_veritas.com>
Date: Wednesday, 26 June 2019 at 4:15 PM
To: "libssh2-devel_at_cool.haxx.se" <libssh2-devel_at_cool.haxx.se>
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.

Regards,
Narayan



_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2019-06-26