Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 57a890fd03356350a1b7a2a0064c8118f44e9958
https://github.com/tianocore/edk2/commit/57a890fd03356350a1b7a2a0064c8118f44e9958
Author: Rebecca Cran <[email protected]>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M MdePkg/Include/Base.h
Log Message:
-----------
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits