summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-01-17 12:58:42 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-17 16:39:29 +0000
commitea2f6c68ee92677787604cf0a9f412edbc2e599f (patch)
tree2e1da829cd67b0b4b2bb7c88469d898bc6fd4d94 /BaseTools/Source
parentf0c87b9ef421954ec0e7942d9e8d7d4d14b208b3 (diff)
downloadedk2-ea2f6c68ee92677787604cf0a9f412edbc2e599f.zip
edk2-ea2f6c68ee92677787604cf0a9f412edbc2e599f.tar.gz
edk2-ea2f6c68ee92677787604cf0a9f412edbc2e599f.tar.bz2
MdePkg/Base: Don't error out on missing compiler CPP macros
STATIC_ASSERT is #define'd to a compiler specific value, based on built-in macros exposed by those compilers. If none of those are found, an #error is raised. This breaks the DTCPP build rule, which relies on the C preprocessor for header file inclusion and value substitution, but doesn't define any of the compiler macros we look for. So drop the error case. If STATIC_ASSERT is used without a definition, an error will be raised anyway. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'BaseTools/Source')
0 files changed, 0 insertions, 0 deletions