You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2020/07/02 12:09:00 UTC
[jira] [Created] (THRIFT-5244) Dynamic exception specifications are
deprecated in C++11[-Wdeprecated]
Zezeng Wang created THRIFT-5244:
-----------------------------------
Summary: 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
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)