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

Warning in thrift.h when compiling with -Wunused and NDEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.9.2
    • C++ - Library
    • None
    • gcc 4.7
      Linux

    • Patch Available

    Description

      I get a warning for an unused parameter when doing release builds (as the assert macro is expanded to nothing). This breaks my build as i am also using -Werror.

      Attachments

        1. warning.patch
          0.4 kB
          Frank Meerkoetter

        Activity

          People

            roger Roger Meier
            bmeerkoetter Frank Meerkoetter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: