[
https://issues.apache.org/jira/browse/PROTON-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863865#comment-17863865
]
ASF subversion and git services commented on PROTON-2810:
---------------------------------------------------------
Commit 0084354ba917f712ce293e06df5d300f9094d86e in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=0084354ba ]
PROTON-2810: Make standalone C++ examples build work correctly
> C++ compile standard needs to be advanced to c++14 or later
> -----------------------------------------------------------
>
> Key: PROTON-2810
> URL: https://issues.apache.org/jira/browse/PROTON-2810
> Project: Qpid Proton
> Issue Type: Bug
> Components: cpp-binding, examples
> Reporter: Kim van der Riet
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.40.0
>
>
> The use of opentelemetry-cpp API in qpid-proton is forcing the C++ compile
> standard to be c++14 or later. The support for c++11 (which qpid-proton is
> currently using) in opentelemetry-cpp was removed in v 1.12.0 (we are
> currently at version 1.14.2), and the use of its APIs is causing compile
> errors.
> Consideration should be given to moving the compiler C++ standard to 14, 17
> or even 20.
> I have tested the compile using c++17, and this does not create any compile
> errors, and solves the opentelemetry-cpp API error too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]