-
Type: Technical Debt
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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.