Ray's Knowledge Base
Unlock

An incremental build prints warnings only for the files it recompiles

FactVerified 4 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.

Statement#

To collect every warning, run cmake --build <tree> --clean-first on each build tree (for example Arrow and Vectorscan ON and OFF) and diff the grep "warning:" output. Do it when no other build or proof run is using the tree.

Evidence#

Observed note, 2026-10-03, dftracer-utils.

Also found by searching

  • how do I get every compiler warning from an incremental cmake build
  • incremental build only prints warnings for recompiled files