Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8052

Re-enable clang compiler warnings

    • Storage Engines
    • 8
    • StorEng - Defined Pipeline

      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@mongodb.com Chenhao Qu
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: