From nobody Sat Jul 29 11:17:48 2023 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 4RChn86k6bz4pll8 for ; Sat, 29 Jul 2023 11:17:48 +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 4RChn85T6hz432d for ; Sat, 29 Jul 2023 11:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690629468; 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=qqM+xNn4M6RMZdROxhZSdqRDMC8US7BH6uQgbim6y4I=; b=RgMUaQQCLqY72D4ABbeq4DZAL1aKzNn8UsDnwzAg/x/POGuYiuIQafWyevQn+FblWjVpf4 c42G/RX+MwjEBIxpOd1m0X3ODnXnC67gsprYmJ9naKkt/9cl609iz1nru/lUGag1MLZIvz jGNU13gkm39e+sr1lHluW9k6YATAGESXPFKq7aHRAUOmLARxi56IUGDTGApE/Ng3Q2TxWO 1gi/9SNLqlfgVntLeAZ8E7+VPN5gdc6EmAYf8XegmIBjBvC+No/875GGv7QxaE2BdMD+4n KENhEK26vc+oZig3WU2uxybnBZu0Bab3QET4h7Xt7fQOBJn8CQba5G5tmrtQlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690629468; a=rsa-sha256; cv=none; b=hXMPZgskconCGb1FaNdYeanrnh4eKzML855hGRxbfnxaTKeuQycDgGx+glLEhH0KxB5Wyi 9bwPJAHBNoGGCpPaEB/o26Ukpv+n4owOUvxj9QmnIi3hnqxe6xNLXTcCBZ/0FuaTHkg4Rx /y83bevuUuHdX7tXv2fzeZLxrCPcMKLgCRKbp204g6TPsuBytbozOElB3jSjrbKa0A0DQm JWTz0EK9Sn56z0yMPO+I0lZvAepOmnAsY7WQxBi5DiLfQN1n6xj8H2p9qdd9/FSYovnzp1 3vjkUIzsuRzfm/F7o9vPjpQg0PE8Nw9UzlBCFOBm6rj+531cA5MlSIQzN1YK9Q== 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 4RChn84Qv5zW2J for ; Sat, 29 Jul 2023 11:17:48 +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 36TBHmlG065161 for ; Sat, 29 Jul 2023 11:17:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36TBHmwA065160 for ports-bugs@FreeBSD.org; Sat, 29 Jul 2023 11:17:48 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 272793] graphics/rawstudio: Add CFLAGS for clang16+ Date: Sat, 29 Jul 2023 11:17:48 +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 Some People X-Bugzilla-Who: rhurlin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: samm@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 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272793 Bug ID: 272793 Summary: graphics/rawstudio: Add CFLAGS for clang16+ Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: samm@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(samm@FreeBSD.org) Assignee: samm@FreeBSD.org Created attachment 243685 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243685&action= =3Dedit patch to add CFLAGS On 14.0-CURRENT (clang16) compiling RawStudio gives the following error: rs-tethered-shooting.c:1178:51: error: incompatible function pointer types passing 'void (GPContext *, const char *, struct __va_list_tag *, void *)' = (aka 'void (struct _GPContext *, const char *, struct __va_list_tag *, void *)')= to parameter of type 'GPContextErrorFunc' (aka 'void (*)(struct _GPContext *, const char *, void *)') [-Wincompatible-function-pointer-types] gp_context_set_error_func (tether_info->context, ctx_error_func, tether_info); ^~~~~~~~~~~~~~ /usr/local/include/gphoto2/gphoto2-context.h:90:28: note: passing argument = to parameter 'func' here GPContextErrorFunc func, void *data); ^ rs-tethered-shooting.c:1179:52: error: incompatible function pointer types passing 'void (GPContext *, const char *, struct __va_list_tag *, void *)' = (aka 'void (struct _GPContext *, const char *, struct __va_list_tag *, void *)')= to parameter of type 'GPContextStatusFunc' (aka 'void (*)(struct _GPContext *, const char *, void *)') [-Wincompatible-function-pointer-types] gp_context_set_status_func (tether_info->context, ctx_status_func, tether_info);=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~ /usr/local/include/gphoto2/gphoto2-context.h:92:29: note: passing argument = to parameter 'func' here GPContextStatusFunc func, void *data); Adding CFLAGS+=3D-Wno-incompatible-function-pointer-types workarounds this. --=20 You are receiving this mail because: You are the assignee for the bug.=