Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5244

Dynamic exception specifications are deprecated in C++11[-Wdeprecated]

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • C glib - Library
    • None

    Description

      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 {

      Attachments

        Issue Links

          Activity

            People

              zeshuai007 Zezeng Wang
              zeshuai007 Zezeng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m