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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build, proton-c
    • Labels:
      None
    • Environment:
      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

              • Assignee:
                Unassigned
                Reporter:
                ncaughey Nicholas Caughey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: