Without Warning: Keeping the Noise Down in Legacy Code Builds
summary
Legacy build starts with a nightly non‑incremental full build that pipes compiler output into a script summarize_warnings to baseline 6,000+ warnings and find hotspots (one file had a 4,000‑line function producing thousands). Teams choose which warnings to fix and which to quiet; a second script suppress_warnings inserts localized suppressions (MSVC pragma warning / clang push/pop) rather than global compiler flags. New builds treat warnings as errors per project/file so new code cannot introduce warnings. Scripts (PowerShell) and examples live on GitHub.
AI-written summary · about
chapters (4)
related talks
01h 31mClean(er) Code for Large Scale Legacy Applications
27mMobiconf 2018: Carola Nitz, VideoLabs
55mSo, you inherited a large code base...
01h 31m“C++ as a "Live at Head" Language”
45mCongratulations! Legacy Code GURU Level Unlocked!
49mContinuous Delivery for Legacy Code
54mThe Future of the Past – Legacy Will Stay With Us
58mWho Needs C++ Unit Tests Anyway? - Modernizing Legacy Code with 0% Code Coverage
