Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2406

[cpp] Use of reconnect_options::failover_urls triggers -Wdeprecated-declarations in examples/cpp/reconnect_client.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-c-0.36.0
    • proton-c-0.37.0
    • cpp-binding, examples
    • None

    Description

      [ 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);
      

      Attachments

        Issue Links

          Activity

            People

              DreamPearl Rakhi Kumari
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: