Skip to content

Fortran: Fix .mod file comparison for Intel 16 format

Brad King requested to merge brad.king/cmake:intel-fortran-mod-diff into master

The Intel 16 format starts with the 0x0A 0x00 sequence that we use to skip past the timestamp. This occurrence appears to be a version number. Skip the first byte to avoid matching the sequence early.

Ideally we should gain a better understanding of the format and avoid depending on short sequences that are likely to appear early by coincidence, but this approach will suffice for now.

Closes: #16263 (closed)

Merge request reports