Implements https://bugzilla.tianocore.org/show_bug.cgi?id=2048.
Best regards,
Vitaly Cheptsov
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#45451): https://edk2.groups.io/g/devel/message/45451
Mute This Topic: https://groups.io/mt/32841
Implements https://bugzilla.tianocore.org/show_bug.cgi?id=2048.
Things to note:
- _Static_assert is a standard C11 keyword and thus is available
on every modern compiler (including Apple Clang, Clang, and GCC).
- static_assert is a hack to support MSVC, which implements static
assertions with this
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2048
Provide a macro for compile time assertions.
Equivalent to C11 static_assert macro from assert.h.
Signed-off-by: Vitaly Cheptsov
---
MdePkg/Include/Base.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MdePkg/Include/Base