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

TCompactProtocol.tcc - one more warning on Visual 2010

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.2
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      visual 2010
      gcc 4.7

    • Patch Info:
      Patch Available

      Description

      "unreachable code" warning appears for code like

      switch (...) {
      ...
      default:
      throw ...
      }
      return ... <- unreachable code

        Attachments

        1. last_warning_TCompactProtocol.patch
          0.5 kB
          Konrad Grochowski

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              hcorg Konrad Grochowski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: