Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 886 Bytes

compiler-error-c7536.md

File metadata and controls

19 lines (15 loc) · 886 Bytes
description title ms.date f1_keywords helpviewer_keywords
Learn about the causes of Compiler error C7536 and how to fix it.
Compiler Error C7536
05/03/2021
C7536
C7536

Compiler Error C7536

ifc failed integrity checks. Expected SHA2: 'hash-value'

The compiler raises C7536 whenever the .ifc file has been tampered with. The header of the module interface contains an SHA2 hash of the contents below it. On import, the .ifc file is hashed, then checked against the hash provided in the header. If these don't match, error C7536 is raised:

error C7536: ifc failed integrity checks.
Expected SHA2: '66d5c8154df0c71d4cab7665bab4a125c7ce5cb9a401a4d8b461b706ddd771c6'

This error is new in Visual Studio 2017 version 15.9. It's only generated when creating or consuming modules, specified by the /experimental:module compiler option.