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

Eliminate compiler warnings in generated C++ code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • C++ - Compiler
    • None
    • Patch Available

    Description

      Generated C++ classes generate compiler warnings when the using code is compiled with -Wall -Wextra -pedantic.

      Specifically, there are two types of warnings in the generated code:
      1. Exceptions don't call parent constructor
      2. Unused warnings

      (there may be others in the generated code, however no others have been found at this time)

      Ideally, the generated C++ code should not have these errors.

      Attachments

        Activity

          People

            roger Roger Meier
            jgcampbell John Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: