You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2021/09/11 12:32:02 UTC
[jira] [Closed] (THRIFT-5244) Dynamic exception specifications are
deprecated in C++11[-Wdeprecated]
[ https://issues.apache.org/jira/browse/THRIFT-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer closed THRIFT-5244.
------------------------------
> Dynamic exception specifications are deprecated in C++11[-Wdeprecated]
> ----------------------------------------------------------------------
>
> Key: THRIFT-5244
> URL: https://issues.apache.org/jira/browse/THRIFT-5244
> Project: Thrift
> Issue Type: Improvement
> Components: C glib - Library
> Reporter: Zezeng Wang
> Assignee: Zezeng Wang
> Priority: Major
> Fix For: 0.15.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Output warning information as below when compiling:
> /data/thrift/lib/c_glib/test/testthrifttestclient.cpp:294:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
> throw(Xception, apache::thrift::TException) override
> ^~~~~
> /data/thrift/lib/c_glib/test/testthrifttestclient.cpp:312:93: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
> void testMultiException(Xtruct &result, const std::string &arg0, const std::string &arg1) throw(Xception, Xception2) override {
--
This message was sent by Atlassian Jira
(v8.3.4#803005)