I've already discussed this in past but never actually sent proper patches for some reason.
This patch series is about fixing problems with these functions when using GCC. M1cha (3): MdePkg: add RETURNS_TWICE attribute MdePkg/BaseLib: add attribute 'RETURNS_TWICE' to SetJump MdePkg: add NORETURN attribute to LongJump and InternalLongJump MdePkg/Include/Base.h | 10 ++++++++++ MdePkg/Include/Library/BaseLib.h | 2 ++ MdePkg/Library/BaseLib/BaseLibInternals.h | 1 + 3 files changed, 13 insertions(+) -- 2.15.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel