You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Nicholas Caughey (Jira)" <ji...@apache.org> on 2019/10/03 09:23:00 UTC

[jira] [Created] (PROTON-2114) [cpp] C++11 examples are not compiled by default

Nicholas Caughey created PROTON-2114:
----------------------------------------

             Summary: [cpp] C++11 examples are not compiled by default
                 Key: PROTON-2114
                 URL: https://issues.apache.org/jira/browse/PROTON-2114
             Project: Qpid Proton
          Issue Type: Bug
          Components: build, proton-c
         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
            Reporter: Nicholas Caughey


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}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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