Page MenuHomePhabricator

0.9.0 gcc compiler warnings deprecated-declarations
Open, Needs TriagePublic

Description

See https://travis-ci.org/ashkulz/NppFTP/jobs/560082157 (mingw 7.2 on ubuntu 18.04 bionic x64):

/home/travis/build/ashkulz/NppFTP/x64/obj/libssh/src/known_hosts.c:408:9: warning: ‘ssh_write_knownhost’ is deprecated [-Wdeprecated-declarations]
         ssh_write_knownhost(session);
         ^~~~~~~~~~~~~~~~~~~
In file included from /home/travis/build/ashkulz/NppFTP/x64/obj/libssh/include/libssh/priv.h:171:0,
                 from /home/travis/build/ashkulz/NppFTP/x64/obj/libssh/src/known_hosts.c:31:
/home/travis/build/ashkulz/NppFTP/x64/obj/libssh/include/libssh/libssh.h:558:31: note: declared here
 SSH_DEPRECATED LIBSSH_API int ssh_write_knownhost(ssh_session session);
                               ^~~~~~~~~~~~~~~~~~~
/home/travis/build/ashkulz/NppFTP/x64/obj/libssh/src/known_hosts.c: In function ‘ssh_write_knownhost’:
/home/travis/build/ashkulz/NppFTP/x64/obj/libssh/src/known_hosts.c:532:5: warning: ‘ssh_dump_knownhost’ is deprecated [-Wdeprecated-declarations]
     buffer = ssh_dump_knownhost(session);
     ^~~~~~
/home/travis/build/ashkulz/NppFTP/x64/obj/libssh/src/known_hosts.c:426:8: note: declared here
 char * ssh_dump_knownhost(ssh_session session) {
        ^~~~~~~~~~~~~~~~~~

Event Timeline

chcg created this task.Jul 17 2019, 7:39 PM
chcg renamed this task from 0.9.0 compiler warnings deprecated-declarations to 0.9.0 gcc compiler warnings deprecated-declarations.
chcg updated the task description. (Show Details)