~/talk

Without Warning: Keeping the Noise Down in Legacy Code Builds

Talkat ACCU 2016 · on Saturday, 2016-04-23· [legacy-modernisation]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 0:23What Do We Mean by Legacy Code
  3. 0:54Static Analysis
  4. 12:52Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.