From nobody Wed Aug 31 22:03:38 2022 X-Original-To: bugs@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 4MHyqZ1XRbz4bSDc for ; Wed, 31 Aug 2022 22:03:38 +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 4MHyqY74fvz3hv3 for ; Wed, 31 Aug 2022 22:03:37 +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 4MHyqY69LCzGTS for ; Wed, 31 Aug 2022 22:03:37 +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 27VM3bWu024149 for ; Wed, 31 Aug 2022 22:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27VM3bsF024148 for bugs@FreeBSD.org; Wed, 31 Aug 2022 22:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@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:03:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661983418; 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=3Yp1KdWKW6J1orZbKMWwH/0LIzsKVOkmxsa4wA4mrcw=; b=vXsH2RQ0TaTzXQAkPp3l9CDTFFHR/9nsz/em2IA2x5yI0fBkyHji5bOqxlXOvsMiLoui1K v12NE6+RJ3xdZczcia6Dt7z1z7qMK2qlMpS1Wr5mTk+xSnakq5g6C1GLuF7o21n1Ns9L2g p65h3PqtMnUQLk2CDCW2xcEqBlkvNLlUa3Iru9ZXYXKyniNoYvne1k9LzwVClRgjvNg1cl HiJXOy1NPIZgxpEDqJftvMcBkXptVBQS8GtOVuxshrL6+oZtVzYGle2gjbJQ87oolWHDhD ggp83qMLr0xBaY42SgpPEgkGT4eDFH37UtUWc/k0gWDHTc9mx1SoFZT0KoPyDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661983418; a=rsa-sha256; cv=none; b=OltI0UykvHFPGgr2PqS3stfy6R+Sp+wrunqe+F6sEbpO/yYNAXReCy9dxWbku7TsNWcl8j 19aXuesyGFM7vHsIIMhWzLZWiQhwVvy9wvaiAtRcdcpFYKh1aXLNgCbS+NtWr2Bv8iIsMT /ADjDRygemDs9fXJwDg0bumhTVfE6bF7/HuhgKWSWZHr6DJGFLljpAvfxa9dQZgh/j3L0B r4Xq+XuuLTHFk0HpQFQ/nC7HiQDo0yDosU2XYCTlFdlngatsZl1ETjGPxa9DFUQrTwVK2q 2UFcdp7DkOgHghYlSkBQ3UeTaHeZNVOMeebx8gQAsKwLZlJi0aCh9mLjx5zQTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266146 Bug ID: 266146 Summary: Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types] Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Attachment #236273 text/plain mime type: Created attachment 236273 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236273&action= =3Dedit clang-issue.c Both types are identical - how come they are incompatible? clang-14.0.5 --=20 You are receiving this mail because: You are the assignee for the bug.=