From nobody Mon Feb 19 22:10:36 2024 X-Original-To: chromium@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 4TdxYn1XJlz59bFP for ; Mon, 19 Feb 2024 22:10:37 +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 4TdxYm6mp2z4Tcd for ; Mon, 19 Feb 2024 22:10:36 +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=1708380637; 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=FSZf2c3Z9Gls/DthRZbsoWUQtsK9rDeBLOkIyLLBw1U=; b=VlrKDdmlnr3sc2vtMv1a55sXB1Fjx+Xkzk7lYzG/J8bpLCYhAQI7uTYfSY8i2T4tujkrGc TpmJg0PYWoltTKVLvAXFhrEneLaMqhfuyrhWVNvscv3YR0VNqruH+xe0ZeAbJ3TNCXIKaW v/AWle/WVAwirC0kg6sRkD1iKEpvdrPZU0uiwFXoUHcCGtrF3q4q0f3M8faXfiQ9ER0F2D CF05BE5U8QeQGEQ2KU/dSXqFNckpzn/V2gdoPmrOUAwode6eSOqNjb0HBmUCWZI+a+HB6r afumGWDaakYPg1FQ+eLAT8OXoXSqwc+jm/uDSqUxR9yXjPsnjPKsojv5stTEVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708380637; a=rsa-sha256; cv=none; b=oG3AEma5HTS7c09k4wpl5oOZf41OVg2owxwpvRQ7DOvacQw5XQ051qEF5PZV26Jdd4+SvB Yj6JlSYDnHnTnMblu9NrDNHSVsjUV6bdhLWHvpPtepd0FZeT4WtLDdY7a4e3xClMoj+pdl u65Ro9pNgkuiKA1OCYnShsH3nLxHLWhQsoFH/ksRUQIB+1TGHdBmnR5VI8NaONzo7X4pBv 30nasEqPp6OuqdelUrMugIobxIG6UCOMoOhvGi1SmuCw5x6EmdtoFIwNb1BDY30uIXidXo TTAMzDfHVZv/Rj8NRTmvhfcmUX4WqrFQ5WIBbJxa0VrJQxldV3vyj2JAbrRgxg== 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 4TdxYm5krSzscH for ; Mon, 19 Feb 2024 22:10:36 +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 41JMAaZA091875 for ; Mon, 19 Feb 2024 22:10:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41JMAasx091874 for chromium@FreeBSD.org; Mon, 19 Feb 2024 22:10:36 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: chromium@FreeBSD.org Subject: [Bug 277178] www/chromium: fix build with clang 18 Date: Mon, 19 Feb 2024 22:10:36 +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: chromium@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: FreeBSD-specific Chromium issues List-Archive: https://lists.freebsd.org/archives/freebsd-chromium List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-chromium@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277178 Bug ID: 277178 Summary: www/chromium: 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: chromium@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: chromium@FreeBSD.org Flags: maintainer-feedback?(chromium@FreeBSD.org) Clang 18 has become more stringent about narrowing in initializer lists, resulting in errors when building www/chromium: ../../third_party/webrtc/pc/legacy_stats_collector.cc:191:54: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing-const-reference] 191 | {StatsReport::kStatsValueNameTotalAudioEnergy, info.total_output_energy}, |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~ ../../third_party/webrtc/pc/legacy_stats_collector.cc:193:8: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing-const-reference] 193 | info.total_output_duration}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ and later: In file included from ../../cc/layers/mirror_layer_impl.cc:5: ../../cc/layers/mirror_layer_impl.h:59:40: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned long' in initializer list [-Wc++11-narrowing-const-reference] 59 | return viz::CompositorRenderPassId{mirrored_layer_id()}; | ^~~~~~~~~~~~~~~~~~~ The first batch of errors can be fixed similarly to bug 276997, by cherry-picking into the thirdparty directory. The second batch of errors can be fixed by cherry-picking . --=20 You are receiving this mail because: You are the assignee for the bug.=