[
https://issues.apache.org/jira/browse/AMQCPP-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108372#comment-17108372
]
Larry Baird commented on AMQCPP-628:
------------------------------------
I second the need to add C++17 support to ActiveMQ-cpp. More and more projects
are moving from C++14 to C++17.
> std::auto_ptr has been removed in C++17
> ---------------------------------------
>
> Key: AMQCPP-628
> URL: https://issues.apache.org/jira/browse/AMQCPP-628
> Project: ActiveMQ C++ Client
> Issue Type: Improvement
> Components: CMS Impl
> Reporter: Hermann Walth
> Priority: Major
> Attachments: AMQCPP-628.patch
>
>
> Compiling ActiveMQ-cpp when the compiler flag to enable the C++ 17 standard
> is set will result in compiler errors because ActiveMQ-cpp uses auto_ptr,
> which has been removed in C++ 17.
> More importantly, compiling any project that _uses_ ActiveMQ-cpp with a
> C++17-compliant compiler will fail because std::auto_ptr is used in the
> ActiveMQ headers.
> Please replace all occurrences of std::auto_ptr with std::unique_ptr.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)