Date: Mon, 17 Nov 2025 02:42:25 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 499d2ed109ef - main - Base.h: Ifdef out always char purity test. Message-ID: <202511170242.5AH2gPZi043690@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=499d2ed109ef6f284de89f2c1ad54393ecc27056 commit 499d2ed109ef6f284de89f2c1ad54393ecc27056 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-11-17 02:38:14 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-11-17 02:42:24 +0000 Base.h: Ifdef out always char purity test. Now that we've moved to always using this, it turns out the the funky thing we have for L'a' is everywhere. Removing this check until I can sort it out. This breaks the build on armv7 otherwise. Fixes: 43b8edb32051 Sponsored by: Netflix --- sys/contrib/edk2/Include/Base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/edk2/Include/Base.h b/sys/contrib/edk2/Include/Base.h index 2b53e118b33f..3ae798db8429 100644 --- a/sys/contrib/edk2/Include/Base.h +++ b/sys/contrib/edk2/Include/Base.h @@ -829,7 +829,7 @@ STATIC_ASSERT (sizeof (CHAR16) == 2, "sizeof (CHAR16) does not meet UEFI Specif * fail, but it also takes lengths to never use either of these constructs. The * boot loader, however, uses them and needs these assertionst o be correct. */ -#ifdef _STANDALONE +#if 0 STATIC_ASSERT (sizeof (L'A') == 2, "sizeof (L'A') does not meet UEFI Specification Data Type requirements"); STATIC_ASSERT (sizeof (L"A") == 4, "sizeof (L\"A\") does not meet UEFI Specification Data Type requirements"); #endifhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170242.5AH2gPZi043690>
