From nobody Wed Aug 31 22:54:41 2022 X-Original-To: toolchain@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 4MHzyT10NWz4bZFL for ; Wed, 31 Aug 2022 22:54:41 +0000 (UTC) (envelope-from bugzilla-noreply@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 4MHzyS756Mz3nhd for ; Wed, 31 Aug 2022 22:54:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4MHzyS64dRzHHt for ; Wed, 31 Aug 2022 22:54:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27VMseNM051031 for ; Wed, 31 Aug 2022 22:54:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27VMseUC051030 for toolchain@FreeBSD.org; Wed, 31 Aug 2022 22:54:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 266146] Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types] Date: Wed, 31 Aug 2022 22:54:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661986481; 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: in-reply-to:in-reply-to:references:references; bh=rHIIcTrpMbirKZMM3R5NYlgoZncDIz974NuaIMsxyds=; b=XRREVZNb/bq86hu7hGOhFHrj+1MnlQKe1dkYfD7nqKGQj+ieHrirn5jR3F2B92QelltQ4h Tc29lK/jQ7qK/C5zGAtuxawVeU7WB1XqIOsysItrT+jBA0zRbpjyw7cKdOr0WoE7djw7H+ beHIPYB8N+Kl0HbeocQ3ryy5F+005Cdug855gf0gej/SIDayDbZniuLDMtgU+kcPAt1xM8 FJIucF+gCCzMgIgwS3PvugncHaWX5jILgopUNX2QzHI6wpFgKIvo8lUfYB4vownMMQrgfq 03v5awtp7pq7eYbDgcWjv1VptspuPqmSOOUTg+WQZz/2pssjXagMy/1ULYMhwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661986481; a=rsa-sha256; cv=none; b=X5graYnpvpBaMYh0RwlCsh41cEiOExjkb6yCyWL1b/ZA4dUfKThFj7BQlbCXHWVzkYXsQe YOSmjv6zsNEmNy4dMyWhXU1MUBdYSNxoO2ZzApavZFV57nImztNEJXRQdPKnSK+Fi8ojSL jDicWe8TKsJDj6Oc3Qm/IVLX4wXbhc5iBsg4Zt3QcxFQGh1KStKJA9sJTNy0lw7ikKJwEN zVfwER4Tzz3txH/Lne/aws4upeZtMLxF3aObhp/3BENKXH9ZPk5Lb+ORZIBzd3HtFCLVr0 5180jtV48XC/9mDkZrg4id1QQdNMY0H06Xz794pC72Jmhb9ratvOrRYYFiMMXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266146 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D569bfb42951aaa65b9884a0a7c2f04cd9= 1b1862d commit 569bfb42951aaa65b9884a0a7c2f04cd91b1862d Author: Brooks Davis AuthorDate: 2022-08-26 22:20:32 +0000 Commit: Brooks Davis CommitDate: 2022-08-31 22:38:15 +0000 libprocstat: forward declare struct kinfo_proc This allows libprocstat.h to be included without sys/user.h as documented in the manpage. PR: 266146 (cherry picked from commit a28f83353243e2298b5f89c0dd6705dfcbda77ea) lib/libprocstat/libprocstat.h | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are the assignee for the bug.=