Re-enable clang compiler warnings

XMLWordPrintableJSON

    • Storage Engines
    • StorEng - Defined Pipeline
    • 8

      As part of upgrading our Ubuntu distribution from 18.04 to 20.04, an issue we ran into was that the clang analyzer was generating several warnings (since the clang version on ubuntu 2004 is more recent v10).

      The quick solution at that time was to ignore all the generated clang warnings, however, a proper solution would be to improve the code, (or at least make a reasonable conclusion if the final decision is to ignore the warnings).

      Files build_posix/aclocal/strict.m4 and dist/s_clang-scan.diff were modified to ignore the warnings generated. The diff is in the comments.

       

       

       

            Assignee:
            Chenhao Qu
            Reporter:
            Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: