Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: ea2f6c68ee92677787604cf0a9f412edbc2e599f
      
https://github.com/tianocore/edk2/commit/ea2f6c68ee92677787604cf0a9f412edbc2e599f
  Author: Ard Biesheuvel <a...@kernel.org>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M MdePkg/Include/Base.h

  Log Message:
  -----------
  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 <a...@kernel.org>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to