rev180: Enable COMPILER_CHECKS (static asserts)

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2024-01-09 14:30:12 -05:00 committed by Stefan Berger
parent 6af38cf79e
commit 134b33df38

View File

@ -171,7 +171,7 @@
// the current compiler doesn't support it. COMPILER_CHECKS should be enabled if the
// compiler supports some form of static_assert.
// See the CompilerDependencies_*.h files for specific implementations per compiler.
#define COMPILER_CHECKS NO // libtpms: NO
#define COMPILER_CHECKS YES
// Some of the values (such as sizes) are the result of different options set in
// TpmProfile.h. The combination might not be consistent. A function is defined