[ 
https://issues.apache.org/jira/browse/THRIFT-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177580#comment-17177580
 ] 

Zezeng Wang commented on THRIFT-5244:
-------------------------------------

would it be better?

> 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
>            Priority: Major
>          Time Spent: 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)

Reply via email to