git: 71ebd117386c - main - bhyve: Enable the default compiler warnings
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 19:13:07 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=71ebd117386cda6410ca65eb487b63e5dedf3245
commit 71ebd117386cda6410ca65eb487b63e5dedf3245
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-11-18 19:10:33 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-11-18 19:12:51 +0000
bhyve: Enable the default compiler warnings
Disable -Wcast-align for now since we have many instances of that
warning (I fixed some but not most of them) and platforms on which bhyve
runs don't particularly care about unaligned accesses.
Reviewed by: corvink
Differential Revision: https://reviews.freebsd.org/D37296
---
usr.sbin/bhyve/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index bd78a3362672..a456d507a071 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -132,12 +132,12 @@ CFLAGS+= -DBHYVE_SNAPSHOT
CFLAGS+=-DGDB_LOG
.endif
-WARNS?= 2
-
# Disable thread safety analysis since it only finds very simple bugs and
# yields many false positives.
NO_WTHREAD_SAFETY=
+NO_WCAST_ALIGN=
+
SUBDIR= kbdlayout
.include <bsd.prog.mk>