From nobody Fri Nov 01 18:17:47 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 4Xg8Gz6ZVNz5cDgr for ; Fri, 01 Nov 2024 18:17:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg8Gz4B7Sz4Hwd for ; Fri, 1 Nov 2024 18:17:47 +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=1730485067; 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=GSTJowZy3PgHbzHrxSEVUDdjCv2XmtMaMQNzanMjqKI=; b=hqoSUZT2Ws4R/cOLnHd2oanilMUz4h/xm3x3+2Ds+t3MJVsalF6In3Binh2aGdskA7dTMg cQoP9jnUs0doQyZ/A6bmEQYu+O1fMIZlviPC6JNLe+ABf7ZFLaVRhGvtJKJP1C2+mGuuW3 mnlEsvLHwZ3KsW8eTaofRpZq7VU0GAgdvxsyLlg9R4z8yp9ujYXBja+FB7KC3MOoZGPMSV BEH9JhtCJvZzsKiIaLYMILwKynE9ExZlvGq7Gf5nHZUfeX1rkcttHlDQ1Oec5TG+qR2aRS e0ZhxqHmjTV72pE5wPYn2imlvuR466tcXRoneBfUnuvOfRThjFfqNrH858016A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730485067; a=rsa-sha256; cv=none; b=IC/CR52eUq5L1pUrlT/j/k0RJ+oCdQx1kk14YgUXemxZwaeXDVociyU4RvPF5BnCfxBC8+ hazBEy7tlqrErZGHVyrdbQzpzDWT9M3J+cdAULMshwDERp4lLCTcFlIKtGj19Bq9o9omil YAeojh5FIW+JBEMrr6Jz29k9fZQh0TUoB3QzlHyjcd83kM3sTZ/V2M7YqYxU5X/FO/dgSd wEYWUL7nEEJow+rRABkFGaxq4wwYcZfPcN7xt9L+nuGGycrMOxwW/vou2THBrpAZJDHXnc nfqRQquAqAwxO/QtwUR50ftGpECn2W7PKBbK2wTQ9fUJo8tXz+w+ME1e6EdawA== 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 4Xg8Gz3NSRzXJq for ; Fri, 1 Nov 2024 18:17:47 +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 4A1IHl2c010830 for ; Fri, 1 Nov 2024 18:17:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A1IHlO5010829 for ports-bugs@FreeBSD.org; Fri, 1 Nov 2024 18:17:47 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 282475] devel/protozero: fix build with clang 19 Date: Fri, 01 Nov 2024 18:17:47 +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: amdmi3@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=3D282475 Bug ID: 282475 Summary: devel/protozero: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: amdmi3@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Clang 19 has become more strict about C++ extensions, which results in: =20 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/t/bool/writer_= test_cases.cpp:8:1: error: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Werror,-Wc++20-extensions] 8 | TEMPLATE_TEST_CASE("write bool field and check with libprotobuf",= "", | ^ =20 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/catch/catch.hp= p:17714:35: note: expanded from macro 'TEMPLATE_TEST_CASE' 17714 | #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_C= ASE( __VA_ARGS__ ) | ^ =20 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/catch/catch.hp= p:1118:9: note: expanded from macro 'INTERNAL_CATCH_TEMPLATE_TEST_CASE' 1118 | INTERNAL_CATCH_TEMPLATE_TEST_CASE_2( INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_M_P_L_A_T_E_T_E_S_T_ ), INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_M_P_L_A_T_E_T_E_S_T_F_U_N_C_ ), N= ame, Tags, typename TestType, __VA_ARGS__ ) | ^ =20 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/catch/catch.hp= p:1096:13: note: expanded from macro 'INTERNAL_CATCH_TEMPLATE_TEST_CASE_2' 1096 |=20=20=20=20=20=20=20=20=20=20=20=20 INTERNAL_CATCH_NTTP_GEN(INTERNAL_CATCH_REMOVE_PARENS(Signature))\ | ^ =20 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/catch/catch.hp= p:897:465: note: expanded from macro 'INTERNAL_CATCH_NTTP_GEN' 897 | #define INTERNAL_CATCH_NTTP_GEN(...) INTERNAL_CATCH_VA_NARGS_IMPL(__VA_ARGS__, INTERNAL_CATCH_NTTP_1(__VA_ARGS__= ), INTERNAL_CATCH_NTTP_1(__VA_ARGS__), INTERNAL_CATCH_NTTP_1(__VA_ARGS__), INTERNAL_CATCH_NTTP_1(__VA_ARGS__), INTERNAL_CATCH_NTTP_1(__VA_ARGS__), INTERNAL_CATCH_NTTP_1( __VA_ARGS__), INTERNAL_CATCH_NTTP_1( __VA_ARGS__), INTERNAL_CATCH_NTTP_1( __VA_ARGS__), INTERNAL_CATCH_NTTP_1( __VA_ARGS__),INTERNAL_CATCH_NTTP_1( __VA_ARGS__), INTERNAL_CATCH_NTTP_0) |=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=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=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=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=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=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 /wrkdirs/usr/ports/devel/protozero/work/protozero-1.7.1/test/catch/catch.hp= p:780:9: note: macro 'INTERNAL_CATCH_VA_NARGS_IMPL' defined here 780 | #define INTERNAL_CATCH_VA_NARGS_IMPL(_0, _1, _2, _3, _4, _5, _6, = _7, _8, _9, _10, N, ...) N | ^ This can be fixed by patching catch.hpp so it uses the correct pragma to suppress this warning, for clang >=3D 19. --=20 You are receiving this mail because: You are the assignee for the bug.=