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

[cpp] C++11 examples are not compiled by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • proton-c-0.34.0
    • None
    • build, proton-c
    • None
    • RHEL 7.5
      qpid-proton-cpp-docs-0.26.0-1
      cmake 2.8.12.2
      gcc 4.8.5
      g++ 4.8.5

    Description

      These C++11 examples are not compiled by default:

      • multithreaded_client
      • multithreaded_client_flow_control
      • scheduled_send
      • service_bus

      cmake is checking CPP11 availability, but it looks that it is not enough and then it does not compile C++11 examples.

      But I am able to compile these examples by:
      g++ <example_name>.cpp -o <example_name> -lqpid-proton-cpp -std=c++11

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ncaughey Nicholas Caughey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: