Am 18.04.2013 22:21, schrieb Stefan Weil: > Now gcc will check whether format string and variable arguments match. > > Signed-off-by: Stefan Weil <s...@weilnetz.de> > --- > > Please note: I could only run limited tests with the new code > because ssh.c is currently not compiled in my w32/w64 environment. > > Regards, > Stefan W.
The test fails on current Debian (squeeze), not because of wrong format specifiers, but because of an "old" libssh2-1-dev. ssh.c calls libssh2_session_handshake which was added in 1.2.8, see http://www.libssh2.org/libssh2_session_handshake.html. Can we simplify the libssh2 check in configure and require pkg-config, no compile check? Regards, Stefan W.