Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1062

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.10.0.B1
    • 2.2.0.B2, 2.6.0.GA
    • amqp-cpp-client
    • RHEL 7.5
      qpid-proton-cpp-docs-0.26.0-1
      cmake 2.8.12.2
      gcc 4.8.5
      g++ 4.8.5

    • Hide

      Run cmake . && make in /usr/share/proton-0.26.0/examples/cpp
      Check that C++11 examples are not compiled

      Show
      Run cmake . && make in /usr/share/proton-0.26.0/examples/cpp Check that C++11 examples are not compiled
    • Anza, Balboa

      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

              iboverma Irina Boverman (Inactive)
              rkubis_kafka_devexp Radim Kubis
              Dominik Stuchlík Dominik Stuchlík (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: