[edk2-devel] [PATCH v2 0/1] MdePkg: Add STATIC_ASSERT macro

vit9696 via Groups.Io posted 1 patch 17 weeks ago
Failed in applying to current master (apply log)
MdePkg/Include/Base.h | 11 +++++++++++
1 file changed, 11 insertions(+)

[edk2-devel] [PATCH v2 0/1] MdePkg: Add STATIC_ASSERT macro

Posted by vit9696 via Groups.Io 17 weeks ago
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 vendor-specific keyword starting from at least
VS 2010 to date.

Vitaly Cheptsov (1):
  MdePkg: Add STATIC_ASSERT macro

 MdePkg/Include/Base.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

-- 
2.20.1 (Apple Git-117)


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#45502): https://edk2.groups.io/g/devel/message/45502
Mute This Topic: https://groups.io/mt/32850581/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-