From nobody Sat Sep 21 17:18:29 2024 X-Original-To: ports-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 4X9wvT5D5Nz5XZZ1 for ; Sat, 21 Sep 2024 17:18:29 +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 4X9wvT4Bmxz4s0K for ; Sat, 21 Sep 2024 17:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726939109; a=rsa-sha256; cv=none; b=U2JlpRm7ILwSHK35+7LM9RjHqjUrQjTwgyIICxl1uc7UoIYi+IX3i4lmF7KQyzA9GyWF7R fsDVnxVNUs+dkpENKHJHFmryTa0px6NSqI2pDG+j7kFJZo0P2pDDJnBXGSKvlApTRc/FwY qfoi+OaSTOBH1J4iMflsrdwuKPZj5kgUuw4R/i8dJC2+SRJWwAxaf1cdp2XnoqyR6moMq8 o/UCda9y/2z88Sj3+pjLb1WmK8rDeWBDKf4+0ocJc3fP7J4/2l9EjlZTJrFoQl2dCX933/ LdWG2c7JUutyQqDbDwlfkpaCXdpX+eMAHpNpMlR400QKD/eJirDupS7THr+PGA== 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=1726939109; 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=6exCXYjiDdkWPM4lXALjzMBwz+bd8oEyRS/Ui4ud01M=; b=qWiMIZ7RtHOaz9QbG28LISeOutQ3wMZl4OAmxOEmp07I41gtIAneQxtOHyNpe5Th0ucnIj DEcWOHjScOdUBZKY+4L38j9/kP72FV6VcZagAyP5SMjPmieCLAUkuJ2f8GFjlf02bzw7lM Be/IZjUDypEX9Ml9SgD6xrHg95e2T0TN9p9aOeukD3d7/twOJIWxptIqJiNg4cqTH6rjM3 FIfrO1++MkJ6exrJnp5SSIQ+f/+bbYStiQ6b9qnpjWjjV4fL84Din6vlmoHMB39Ci6JF+p gB31Ml+bAOQ2kbf9hMlJNRTAjXk+wtwaoTyw6CeOt08tRWQgSCJBXexL6vbEeA== 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 4X9wvT3mRZzjFK for ; Sat, 21 Sep 2024 17:18:29 +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 48LHITOo099404 for ; Sat, 21 Sep 2024 17:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48LHITLc099403 for ports-bugs@FreeBSD.org; Sat, 21 Sep 2024 17:18:29 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: ports-bugs@FreeBSD.org Subject: [Bug 281633] devel/readline: Fix API when used with -Wstrict-prototypes Date: Sat, 21 Sep 2024 17:18:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281633 Bug ID: 281633 Summary: devel/readline: Fix API when used with -Wstrict-prototypes Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: arrowd@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) When building multimedia/pipewire with newest Clang and without this patch I get /usr/local/include/readline/rltypedefs.h:35:22: error: a function declarati= on without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 35 | typedef int Function () __attribute__((deprecated)); | ^ | void /usr/local/include/readline/rltypedefs.h:36:24: error: a function declarati= on without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 36 | typedef void VFunction () __attribute__((deprecated)); | ^ | void /usr/local/include/readline/rltypedefs.h:37:26: error: a function declarati= on without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 37 | typedef char *CPFunction () __attribute__((deprecated)); | ^ | void /usr/local/include/readline/rltypedefs.h:38:28: error: a function declarati= on without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 38 | typedef char **CPPFunction () __attribute__((deprecated)); | ^ | void In file included from ../src/tools/pw-cli.c:19: /usr/local/include/readline/readline.h:410:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 410 | extern int rl_message (); | ^ | void --=20 You are receiving this mail because: You are the assignee for the bug.=