audk/MdePkg/Include
Rebecca Cran 57a890fd03 MdePkg: Check if compiler has __has_builtin before trying to use it
When building AArch64 code, cpp gets run with the `-undef` flag which on
Fedora 40 with gcc version 14.1.1 20240607 (Red Hat 14.1.1-5) causes
__has_builtin to be undefined. When running the check for
__builtin_unreachable in Base.h it causes an error
"missing binary operator before token "("".

Check that we have __has_builtin before trying to use it.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
2024-06-20 01:55:03 +00:00
..
AArch64 MdePkg/ArmLib: Drop obsolete library declarations 2024-06-19 17:25:11 +00:00
Arm ArmPkg,MdePkg: Move ArmPkg/Chipset/Aarch64[|Mmu].h to MdePkg 2024-06-15 03:57:14 +00:00
Ebc MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Guid MdePkg: Add devAuthBoot GlobalVariable 2024-04-30 02:21:13 +00:00
Ia32 MdePkg: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
IndustryStandard MdePkg: Add Ipmi Net Sensor Thresholds command defines. 2024-06-05 03:35:32 +00:00
Library MdePkg/ArmLib: Drop obsolete library declarations 2024-06-19 17:25:11 +00:00
LoongArch64 MdePkg: Fix UINT64 and INT64 word length for LoongArch64 2023-02-01 02:12:41 +00:00
Pi MdePkg: Define Unaccepted Memory Type 2024-05-08 11:34:49 +00:00
Ppi MdePkg: Update Delayed Dispatch PPI as per PI 1.8 Spec 2024-05-08 11:34:49 +00:00
Protocol MdePkg: Add definition for NVMe Over Fabric Device Path 2024-05-08 11:34:49 +00:00
Register MdePkg/Include: Update AMD specification references 2024-06-18 05:45:15 +00:00
RiscV64 MdePkg: Implement RISC-V Cache Management Operations 2023-12-19 12:48:14 +00:00
Uefi MdePkg Updated the comments of EFI_SYSTEM_TABLE and ReadKeyStroke 2024-02-26 19:18:00 +00:00
X64 MdePkg: don't set visibility to hidden 2023-06-01 10:53:35 +00:00
Base.h MdePkg: Check if compiler has __has_builtin before trying to use it 2024-06-20 01:55:03 +00:00
ConfidentialComputingGuestAttr.h MdePkg: Add CC_GUEST_TYPE in ConfidentialComputingGuestAttr.h 2022-04-19 01:26:08 +00:00
PiDxe.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiMm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiPei.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Uefi.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00