1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

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
This commit is contained in:
Mark Johnston 2022-11-18 14:10:33 -05:00
parent 0705b7f4e6
commit 71ebd11738

View File

@ -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>