Skip to content

WHAM 1.6.0

Choose a tag to compare

@Meteoni Meteoni released this 29 Oct 02:02

WHAM now avoids repeating #pragma once headers after an earlier inclusion is guaranteed. Omitted copies leave compact references, so recovery restores every original include and the complete source tree.

  • Conditional first includes and uncertain nested cases keep full expansions.
  • Ordinary header guards, #undef, architecture defines, and repeatable headers stay untouched.
  • Recovery format v4 preserves edited retained bodies and rejects missing or mismatched references. Existing v1, v2, and v3 outputs remain readable.

New outputs require WHAM 1.6.0 or newer for recovery.

Validated with 61 automated tests, 48 original/generated Clang preprocessing comparisons and syntax checks across x64 and ARM64, and a native MultiWM test build with exact recovery of its 16 source files.

Install from the VS Code Marketplace, or download the attached VSIX and use Extensions: Install from VSIX….

Full changelog