audk/MdePkg
Ard Biesheuvel ea2f6c68ee 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>
2025-01-17 16:39:29 +00:00
..
Include MdePkg/Base: Don't error out on missing compiler CPP macros 2025-01-17 16:39:29 +00:00
Library MdePkg: UefiDevicePathLib: Add Display Only format for Hard Drive. 2024-12-25 07:11:33 +00:00
Test MdePkg: Add Google Mock Library for SafeIntLib 2024-12-11 07:30:17 +00:00
MdeLibs.dsc.inc MdePkg: MdeLibs.dsc.inc: Apply StackCheckLibNull to All Module Types 2024-11-13 21:01:46 +00:00
MdePkg.ci.yaml MdePkg: Create Stack Check Null Libs 2024-09-13 03:58:46 +00:00
MdePkg.dec MdePkg BootManagerPolicy.h: Define GUID for connecting storage devices. 2024-12-17 04:15:46 +00:00
MdePkg.dsc MdePkg: Remove Old Stack Check Lib Implementation 2024-09-13 03:58:46 +00:00
MdePkg.uni MdePkg: Utilize Cache Management Operations Implementation For RISC-V 2023-12-19 12:48:14 +00:00
MdePkgExtra.uni