[
https://issues.apache.org/jira/browse/AMQCPP-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933096#comment-17933096
]
ASF subversion and git services commented on AMQCPP-718:
--------------------------------------------------------
Commit 64cfb509fbd14973b86a7dd2f49b06b832c3d2e8 in activemq-cpp's branch
refs/heads/3.9.x from Arjun Ray
[ https://gitbox.apache.org/repos/asf?p=activemq-cpp.git;h=64cfb509 ]
https://issues.apache.org/jira/browse/AMQCPP-718
AMQCPP-718 Removed dynamic exception specification.
throw(...) deprecated in C++11, removed in C++17.
throw() retained as alias of noexcept until C++20.
> Compilation failing for C++17 standard
> --------------------------------------
>
> Key: AMQCPP-718
> URL: https://issues.apache.org/jira/browse/AMQCPP-718
> Project: ActiveMQ C++ Client
> Issue Type: Improvement
> Components: CMS Impl
> Affects Versions: 3.9.4
> Environment: Fedora
> Reporter: Minhaajuddin Ahmad Khan
> Assignee: Timothy A. Bish
> Priority: Major
>
> Hello,
> CMS fails to compile for C++17 standard, error below :
>
> /home/minhaaj/bisrte-temp/build/vcpkg_installed/x64-linux/include/activemq/commands/ActiveMQMapMessage.h:70:34:
> error: ISO C++17 does not allow dynamic exception specifications
> 70 | virtual void clearBody() throw (cms::CMSException);
> | ^~~~~
>
> Could you please make changes for the new standard.
>
> Regards
> Minhaaj
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact