From nobody Wed Mar 27 19:52:54 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 4V4clp67LCz5BP8w for ; Wed, 27 Mar 2024 19:52:54 +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 4V4clp55nvz4h7S for ; Wed, 27 Mar 2024 19:52:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711569174; a=rsa-sha256; cv=none; b=iieLUJGuM/zzAGS23qGx7NkFBJCnr83xW4SttShg+AFzNZfD6wYrHIXOwbZbkFGHuoj/J+ 0gAEuvZHEdpUJiLQCx1NLnt4X2u/hZ82RhZIeSMm3vdN6PNTRig1hCxmmlvlUWZ7vfu6zo IxHQh7/nD9C8na9FrNkv+YoLpQQQddT5t4i1bXqTVPbUj3Sqesdsp1ABSeVaFx0BXnj3sK slp1DWgyOJneWhXKHRHMET43MBzs7rTlULwj4jaJ4XZg9e7+57BvxcUfsEfoJZy5BIfvOj ymxkTi3RmUfnF26jyA30XMRNLrZuvfrz96zJIixr+fpRKuGcyOpiLFKu1NF/Xw== 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=1711569174; 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=/AYlIabiHoUJeijF+JT1KFi9hzz073xnfWjbzBLSDlk=; b=ZG7XLUd3o9vKmV0r1oaI8NVyd+EkbGX7s08dDRB5syVRTWYfq2fr0twaC4yFkwSPK968R4 ps8KVRXJHaUaofcE7AViTI2v4BADaJE4N8RIHByAObWcsUvtlDAquX3o+SkITQP7Myo1yl 5jXLHrMlp8kRlN3ci6K8fpEGH0LRUuqoKRczq7OggEfzcQEDI3dUAB4DnjhwdJe/SMKwBm x3BGBf70iOyESw6vYt2yQnmZtEUrrxxSa+XYvta1LKc7J2TPKpcmbrnI9cTddVj/zAB/+/ Qw3SyPGavR2EKbR916V4GaCamCG9HRcSAeg+stAj6WeL/igJpBcoAjTyK9styQ== 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 4V4clp4dYHzxDX for ; Wed, 27 Mar 2024 19:52:54 +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 42RJqsOF011172 for ; Wed, 27 Mar 2024 19:52:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42RJqsje011171 for ports-bugs@FreeBSD.org; Wed, 27 Mar 2024 19:52:54 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 277999] audio/csound: fix build with clang 18 Date: Wed, 27 Mar 2024 19:52:54 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@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: 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=3D277999 Bug ID: 277999 Summary: audio/csound: fix build with clang 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: dim@FreeBSD.org Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) With clang 18, audio/csound fails to build: /wrkdirs/usr/ports/audio/csound/work/csound-6.15.0/Opcodes/OSC.c:784:47: er= ror: incompatible function pointer types passing 'int32_t (const char *, const c= har *, lo_arg **, int32_t, void *, void *)' (aka 'int (const char *, const char= *, lo_arg **, int, void *, void *)') to parameter of type 'lo_method_handler' = (aka 'int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, = void *)') [-Wincompatible-function-pointer-types] 784 | OSC_handler, p->port); | ^~~~~~~~~~~ /usr/local/include/lo/lo_serverthread.h:151:72: note: passing argument to parameter 'h' here 151 | const char *typespec, lo_method_hand= ler h, |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ This is because the callback functions OSC_handler() and OSC_ahandler() have the wrong signature: liblo's headers use 'int' for the 'argc' argument, and 'lo_message' for the 'data' argument. Fix the parameter types of the functions to match the liblo declarations. --=20 You are receiving this mail because: You are the assignee for the bug.=