From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@protonmail.com header.s=default header.b=f8WSON9G; spf=pass (domain: protonmail.com, ip: 185.70.40.132, mailfrom: vit9696@protonmail.com) Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by groups.io with SMTP; Tue, 13 Aug 2019 01:16:54 -0700 Date: Tue, 13 Aug 2019 08:16:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1565684211; bh=h+hoO8zqaKG8yZqjMQ8kgbhEiaMrfA5jpZztx+NoM20=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=f8WSON9GXW+LG3K+AFQSUCNr5ucI7w1V3kn1E1mIaZc9UxAEUfUnRkOtCdEyrCFzU jwmT/RoAjdz1+NzIspLXEk/IA06OUUSqXUalq3K3yVoTDfIUdRtyVJ6KuVxu2FYbvB uw1pxAWWaC6C6lZAlOFzfW7+gXKDMaoHc8Tu9nIc= To: devel@edk2.groups.io From: "vit9696" Reply-To: Vitaly Cheptsov Subject: [PATCH v2 0/1] MdePkg: Add STATIC_ASSERT macro Message-ID: <20190813081644.53963-1-vit9696@protonmail.com> Feedback-ID: p9QuX-L1wMgUm6nrSvNrf8juLupNs0VSnzXGVXuYDxlEahFdWtaedWDMB9zpwGDklGt7kzs1-RBc0cqz327Gcg==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-0.7 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Groupsio-MsgNum: 45502 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="---------------------b534827a7ee14bb6ee9fb4e5c7f3f64c"; charset=UTF-8 -----------------------b534827a7ee14bb6ee9fb4e5c7f3f64c Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Aug 2019 11:16:43 +0300 From: Vitaly Cheptsov Message-Id: <20190813081644.53963-1-vit9696@protonmail.com> Mime-Version: 1.0 Subject: [PATCH v2 0/1] MdePkg: Add STATIC_ASSERT macro To: devel@edk2.groups.io X-Mailer: git-send-email 2.20.1 (Apple Git-117) Implements https://bugzilla.tianocore.org/show_bug.cgi?id=3D2048. 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(+) --=20 2.20.1 (Apple Git-117) -----------------------b534827a7ee14bb6ee9fb4e5c7f3f64c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBmBAEBCAAQBQJdUnHtCRBPsoxt7Hy0xQAKCRBPsoxt7Hy0xYcnCAAN2hnC IZ9xMmRV6BsYZ3m8t/riyMmGY0jacHoo69KlUzZ2OD6H9QWEvhlAAkYDFPW9 99zuyMqqJtbmXeBIxAGtGWiUKAr9XBPKc+v5nrQe1KWPej8BQrzvqLDHP2o2 bByc1vQOAk4CqEcsBoQAfKqD83PiWjJ3eiui9AN6I/DJIy7d586bRL2682UY MaU8ylGkUbRqCTgZ0L0gDe7AJLtFqAP3nFPDPXTcPZJdww+pZGGqW7duLUV/ 8++VeB0mOwGoUJBN0IFqZFrEFfHziwOew82Gn2WrUb1KeNuj3kdSySmzC6Ir 3u59L2tfny3JnKa5Lo3ZsM+3GmpqpWdHjCSy =D/f7 -----END PGP SIGNATURE----- -----------------------b534827a7ee14bb6ee9fb4e5c7f3f64c--