From nobody Fri Nov 18 19:13:07 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NDRJN0hhJz4dH43; Fri, 18 Nov 2022 19:13:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NDRJN0Brfz3LTC; Fri, 18 Nov 2022 19:13:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668798788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ulrWJ3WPombaNXykT9YcizOJ3+sOLETNu4NQG5VAnmA=; b=uGn62OBJi1CMBEEgTiFFgqhki5rkRl40EYBy4ydwMaxwP3YKSWI/024dMD9KbeAWz4mwmZ v+zud3663ZYBWsuo2NP0Fvtk9F9E/zQvBSN1Us3he37F/gIRq11pIrZc/SVF3gTUYOE8HE M3SqGzF/nRh+Pw7PioJ6LeLS+UeSSis1RxhoCD0rj+FJPp4QIR8hGStB3wypqjnMs4krsz HKhOo3RGNPWnS3V4a7lP7FWrpJ1efONEwhAelxzv1QymHv3+6IP+8IeCFKgvPJljT2l+9E MtYDxFwfNv+8wJVg81GJzO7gWSMFaWHbSx9A/xgc+uUxmflWHZKUyX5Zmlkp2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668798788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ulrWJ3WPombaNXykT9YcizOJ3+sOLETNu4NQG5VAnmA=; b=XUo/AcZ796t6pCARi4B7/22qeT49f3fYRBdmeQc2xXhTP5L6uqglnAvTDRmdoXrOBU1vVn 8YsxNfy3ZSeRwKmbpxlW0DSc/eOYTnpkM6CsnlqJdM9Yi3OttaT8oGlMXf8LVCjNu30/Y/ 3vL5Qyl3eR38RVyY1NEBc15kfg2ka+f99IIjTpcE6kIYPAe0Ii8bycu0FaOYS19TU04Ko6 ydvaWQB9FAT9uSaxCsH4re2FYeJR0oxGX89+u3m3YFO4bqyVV6RS79dBRU0tuxYzwfCIra QQiDle3GQmTaSawH/wAvhzRBZNYyby9Vk5YBYGHHw81aAJxiHWIy+I/CgguzeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668798788; a=rsa-sha256; cv=none; b=cI0m4M5qG7nOOZnt346Zo05aIcnYKw6Clrk0kULXM4T2naWQJeP5PG3Y2WVHMmz4DT5Bra LEZzgjjEoXRQNmMDfRJ40/Y1FS2sAb2AadaLbvl0JZpkcwL5kYf1xv205Jd5UlPwDnd3W9 Zerbja555sUO8+j1SZSbksggldcorV/WVNGJ7hs7pJ2y7HhteabkO7GTsgkSZ2cUWHUBf5 tOQYU7IdJT+i4nR+v6UcMz/0AwIJnH+X6nTqqbMLJAgOyp9L/JoTXVwic/ODgVI4JbIsZF wIcouqwYXYQFTod0rbK8fdngHbP7QZQz990Z6ocMppmlP9JodJbRiwVmUrrXfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NDRJM6QQtzHnv; Fri, 18 Nov 2022 19:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AIJD7KJ001697; Fri, 18 Nov 2022 19:13:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AIJD7dC001696; Fri, 18 Nov 2022 19:13:07 GMT (envelope-from git) Date: Fri, 18 Nov 2022 19:13:07 GMT Message-Id: <202211181913.2AIJD7dC001696@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 71ebd117386c - main - bhyve: Enable the default compiler warnings List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 71ebd117386cda6410ca65eb487b63e5dedf3245 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=71ebd117386cda6410ca65eb487b63e5dedf3245 commit 71ebd117386cda6410ca65eb487b63e5dedf3245 Author: Mark Johnston AuthorDate: 2022-11-18 19:10:33 +0000 Commit: Mark Johnston 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