You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rakhi Kumari (Jira)" <ji...@apache.org> on 2021/11/30 16:53:00 UTC

[jira] [Resolved] (PROTON-2406) [cpp] Use of reconnect_options::failover_urls triggers -Wdeprecated-declarations in examples/cpp/reconnect_client.cpp

     [ https://issues.apache.org/jira/browse/PROTON-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rakhi Kumari resolved PROTON-2406.
----------------------------------
    Resolution: Fixed

> [cpp] Use of reconnect_options::failover_urls triggers -Wdeprecated-declarations in examples/cpp/reconnect_client.cpp
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2406
>                 URL: https://issues.apache.org/jira/browse/PROTON-2406
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding, examples
>    Affects Versions: proton-c-0.36.0
>            Reporter: Jiri Daněk
>            Assignee: Rakhi Kumari
>            Priority: Minor
>             Fix For: proton-c-0.37.0
>
>
> {noformat}
> [ 56%] Building CXX object CMakeFiles/reconnect_client.dir/reconnect_client.cpp.o
> /usr/share/proton/examples/cpp/reconnect_client.cpp: In member function ‘virtual void reconnect_client::on_container_start(proton::container&)’:
> /usr/share/proton/examples/cpp/reconnect_client.cpp:59:35: warning: ‘proton::reconnect_options& proton::reconnect_options::failover_urls(const std::vector<std::basic_string<char> >&)’ is deprecated (declared at /usr/include/proton/reconnect_options.hpp:82): use connection_options::failover_urls() [-Wdeprecated-declarations]
>          ro.failover_urls(failovers);
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org