Page MenuHomeFreeBSD

D37535.diff
No OneTemporary

D37535.diff

diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile
--- a/usr.sbin/acpi/acpidb/Makefile
+++ b/usr.sbin/acpi/acpidb/Makefile
@@ -90,3 +90,7 @@
.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS+= -Wno-null-pointer-arithmetic
.endif
+
+# AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
+# on-stack variable.
+CWARNFLAGS.utdebug.c+= ${NO_WDANGLING_POINTER}
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -147,4 +147,8 @@
prparser.y.h: prparserparse.h .NOMETA
ln -f ${.ALLSRC} ${.TARGET}
+# AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
+# on-stack variable.
+CWARNFLAGS.utdebug.c+= ${NO_WDANGLING_POINTER}
+
.include <bsd.prog.mk>

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 7:38 AM (16 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14672666
Default Alt Text
D37535.diff (774 B)

Event Timeline