From nobody Sat Feb 3 13:25:46 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 4TRtgZ6l0nz59NPb for ; Sat, 3 Feb 2024 13:25:46 +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 4TRtgZ5GBDz40Nq for ; Sat, 3 Feb 2024 13:25:46 +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=1706966746; 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=sok8k8iLomtqlvx3x1/UwGI57dcAEHNk1+TeDqiMjo0=; b=rLESH3g0Fz4YG/L/J9y92rQoURqqBF831VFg42kRfWOcZafh1WiZaQ1bAQa5HUW4VFXysR WPNngKa22VKT1fGrTG8YyJUEqFY3y8qUynGQ/TZT4xPcqfQKk9hacdiLkEZZ2VxOSnZZ2J K9f1NLWA+Vj1l1scRPZNYiQiWcZaWgWPxsT16HvclVQOPpPq5zXCYG+QPSJGOYeqvoh/sW X+FfNUzYjm8Z+V7W1AKNoopVj7bKbi97cNyMP+qxevYKJSpQUxV7luQy0otC2CfyMtWdAX VaZ67xQh/5kS+Tv7LhXI1eQDxOfFVV4RiLbMGr/QPNSN9/h5fYRAwS5hCAQ2dA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706966746; a=rsa-sha256; cv=none; b=QVb+lBLN4B7iGtrauyTPyoxzX3JY5i5/s0mbRAfM1furuXAZFyg3TVhxSHWdXHbNAjOXhw FHr7MD+AU/rq5nrWp0wksRxb2+bO5HcxaA2SOqKFDYWxSuh3JMtpfzxRdGTV2FaeJIyUVn 3Bab6HeKuZ7o+6+gRFOxJN7EzupFxYQKJwA2zxCjN3XSCw2ROR730LhTW8XB29STwGRiTo t/G3rMEnX1mYPj7POAxK8Q4FSFgiFHPgCVUSlvp72s8rc4ogm8KDNErlHjrv/2SOcvL6Gu VPIMkPRbtpKXNq3/97I0BuCmwo9xngV/RpgSiE9QK73wzYwSKP2xyjIrQNdufw== 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 4TRtgZ4FGNzFh6 for ; Sat, 3 Feb 2024 13:25:46 +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 413DPkk0083268 for ; Sat, 3 Feb 2024 13:25:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 413DPk6f083267 for ports-bugs@FreeBSD.org; Sat, 3 Feb 2024 13:25:46 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 276804] devel/bossa: fix build with clang 18 Date: Sat, 03 Feb 2024 13:25:46 +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: kevans@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=3D276804 Bug ID: 276804 Summary: devel/bossa: 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: kevans@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(kevans@freebsd.org) Assignee: kevans@freebsd.org Clang 18 has a new warning about variable length arrays used in C++, which is emitted when building devel/bossa: src/Flasher.cpp:115:28: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] 115 | uint8_t buffer[bufferSize]; | ^~~~~~~~~~ src/Flasher.cpp:115:28: note: read of non-const variable 'bufferSize' is = not allowed in a constant expression src/Flasher.cpp:114:22: note: declared here 114 | uint32_t bufferSize =3D _samba.writeBufferSize(); | ^ [... more of these ...] Since refactoring the code to no longer use VLAs is rather intrusive, suppress the warnings instead. --=20 You are receiving this mail because: You are the assignee for the bug.=