[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: libssh 0.8.4 MSVC Windows build issue
[Thread Prev] | [Thread Next]
- Subject: RE: libssh 0.8.4 MSVC Windows build issue
- From: Wolf Wolfswinkel <wolf.wolfswinkel@xxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 17 Oct 2018 12:59:26 +0000
- To: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Cc: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
That leads to errors because SSIZE_T is undefined. Adding #include <BaseTsd.h> to priv.h fixes the issue. Wolf > -----Original Message----- > From: Andreas Schneider <asn@xxxxxxxxxxxxxx> > Sent: Wednesday, October 17, 2018 11:13 AM > To: Wolf Wolfswinkel <wolf.wolfswinkel@xxxxxxxxxxxxx> > Cc: libssh@xxxxxxxxxx > Subject: Re: libssh 0.8.4 MSVC Windows build issue > > On Wednesday, 17 October 2018 10:01:33 CEST Wolf Wolfswinkel wrote: > > The patch works. Thank you. > > > > It does lead to a warning though: > > > > libssh-0.8.4\include\libssh\sftp.h(57): warning C4142: 'ssize_t': benign > > redefinition of type [libssh-0.8.4\build_win32\src\ssh_shared.vcxproj] > > libssh-0.8.4\include\libssh\priv.h(136): note: see declaration of 'ssize_t' > > The attached updated patch should address this. Could you please give > feedback > if it works correctly now? > > > Thanks, > > > Andreas > > -- > Andreas Schneider asn@xxxxxxxxxxxxxx > GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Re: libssh 0.8.4 MSVC Windows build issue | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
libssh 0.8.4 MSVC Windows build issue | Wolf Wolfswinkel <wolf.wolfswinkel@xxxxxxxxxxxxx> |
Re: libssh 0.8.4 MSVC Windows build issue | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
RE: libssh 0.8.4 MSVC Windows build issue | Wolf Wolfswinkel <wolf.wolfswinkel@xxxxxxxxxxxxx> |
Re: libssh 0.8.4 MSVC Windows build issue | Andreas Schneider <asn@xxxxxxxxxxxxxx> |