Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3675

consider turning -Werror on for address sanitizer builds

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.6.0
    • None
    • Backend

    Description

      Currently it seems we're only using -Werror with debug builds.

      The problem is that a number of GCC warnings get issued by the analysis/transformation at -O2 or higher. So there could be warnings in our release builds that we're simply ignoring.

      We should consider turning -Werror on in release builds. Perhaps have another "static-analysis" target that does something like this (and use it in GVMs and recommend before submitting code reviews):

      g++ ${CXX_FLAGS_RELEASE} -fsyntax-only -Werror -Wfatal-errors ...
      

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            srus Silvius Rus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: