From nobody Tue Jul 30 18:09:52 2024 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 4WYNYF2ZXbz5RhHD for ; Tue, 30 Jul 2024 18:09:53 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYNYD51zdz4PKw for ; Tue, 30 Jul 2024 18:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722362992; a=rsa-sha256; cv=none; b=iiIUSmByAnuuftyhCXsQti8DJlEZzOyoaGg0SkBOzJPdAkfCAe6VbHKslrzvUKg639bjY3 vkEiiy1X0Kg68z5gwYiWzBNEptEx8nhYaLwKqUXspqQWG5qKPJwGygwUmHoyedINstveuo 5lDmNb2VOOxV+S+5GrtaXbmuYdGhp9uREeyxqRHPsleJTCSk5ppBpoEl+ffhZqGovZfDRf o67LD+o9vl2WXHoNlqpwIF0m5Qy+KtE/us8IfOUejmIVHem54+uwUbU35K9Rr9a9oJR7U5 7vQLr1lOTHV7PTP4vUdu56SMLp1hu2sOgprv3g4XkilSQHihd5Q6bUfr9oFa4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722362992; 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=VJw29b6VFDaQJJtteLkHIIJIoDJPZ4xItOedB05cUmU=; b=Jgo2CHZcu9ZRmI/2N2L04dMIBwRRRLvQAxu57aTEf1e5jtpcrzAvBtsyzBXDJETKkf5nXR CM0VnDwSlfnMY4IYb5EUw3d2Mg43GGvc7VO+arMs7Rze36yiIvl/PUaZQp2VQEjv7OwEfp NcQ1+a/PUQCogftGJXNEGmwwljOoWNRNivYl43C8P3UqTmfiGwQRq1wy1hD27y1dzKboQN +167AWOc6FU30m/qdXx6JlykP61PsIYBs5zxj0OCfZp0Sp29tmRiSraerDZ7UEyS8fJPMm ZMFFn/Xrmf0VUKBd/JXnkN6oJfSTTwtm5kRckuPDriOv/U3IkWMm4WGPf/n4UQ== 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 4WYNYD4dVfzSD0 for ; Tue, 30 Jul 2024 18:09:52 +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 46UI9qVK064207 for ; Tue, 30 Jul 2024 18:09:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46UI9qD7064205 for bugs@FreeBSD.org; Tue, 30 Jul 2024 18:09:52 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 280514] Function cast warnings in lib/libypclnt Date: Tue, 30 Jul 2024 18:09:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@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.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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280514 Bug ID: 280514 Summary: Function cast warnings in lib/libypclnt Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dim@FreeBSD.org Created attachment 252374 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252374&action= =3Dedit clang 19 warnings emitted for lib/libypclnt While doing a buildworld with https://github.com/DimitryAndric/freebsd-src/tree/llvm-19-update using clang 19, I got a number of -Wcast-function-type-mismatch warnings for lib/libypc= lnt (via the generated $WORLDTMP/usr/include/rpc/clnt.h headers): yp_clnt.c:19:3: warning: cast from 'bool_t (*)(void)' (aka 'int (*)(void)')= to 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') converts to incompatible function type [-Wcast-function-type-mismatch 19 | (xdrproc_t) xdr_void, (caddr_t) argp, | ^~~~~~~~~~~~~~~~~~~~ /usr/obj/share/dim/src/freebsd/llvm-19-update/amd64.amd64/tmp/usr/include/r= pc/clnt.h:162:38: note: expanded from macro 'clnt_call' 162 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ and a bunch more of these. I attached a log file with the full list of warnings. --=20 You are receiving this mail because: You are the assignee for the bug.=