From nobody Sat Jul 20 12:39:51 2024 X-Original-To: toolchain@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 4WR5j407Pjz5RbSY for ; Sat, 20 Jul 2024 12:39:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WR5j34Kdmz47Dl for ; Sat, 20 Jul 2024 12:39:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721479191; a=rsa-sha256; cv=none; b=hVJpqqE6kccI+LU2GVp0JgiCfJrrXHIGBqwP7j/ABJksEi1DR94KaWGjCUlLGouLXj9D8j 62K1x3BQoIrcwd+90KwXoL456wyzj0O4+kyyU6nVe+oAB4rJjaL7MajEsr0gMfQb6LAbds MhYJwRh21M6qPivap3NPJ5ttzryUwKIEP+95Md71mharOKAdltfEXt7NgJvkuM40LY6s1d RGGNPZ8ZW0eMrUUscMV39pkMl8ZKWBZbar//s8IOJkRHBWhoBANN78T1LRZoRPCbAWU/OU tQMcW1MdJj13sFl0nLe2vGds6GxvtkGLdgjT3uc6l4CY6LnZtvnIvdbDCYyQjA== 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=1721479191; 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: in-reply-to:in-reply-to:references:references; bh=iLOPQgcxa6kCZQorYXMuwhwI14CAO+OHMldT6oRdsvE=; b=B4Q2f03s7jvbZkbNFQp/yZzHPztu+AnjQh3YEjZWOJ2KUVQp0aIwNloNKcSnEZjcnsTjNQ EA7BgcPulj3f9AkEnAam1BIRxsxwStp9fA1GYROpcX09/RllpPPs+JGp9QbEt6X4iqI+5B vmtq8Kn54n6HLcOjWdo6VdzSHHjtGBdJo4JZydQsVXympgBgO4Id5679vp5QleqIU7v5co CDKyugiT3g3EUAmwa4chTeHaZAH7udx9ImrA+ZCvAhrNf+GC8OHWOAca5XwUo280JdibUB 89gWc9DLRgWvR8v46zz3GvNojnRst6hgxM3ftoI1dOBdXxlMuomka4Qql6GMug== 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 4WR5j33blPzH5y for ; Sat, 20 Jul 2024 12:39:51 +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 46KCdpLY000224 for ; Sat, 20 Jul 2024 12:39:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46KCdpru000223 for toolchain@FreeBSD.org; Sat, 20 Jul 2024 12:39:51 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: toolchain@FreeBSD.org Subject: [Bug 280382] '#include ' fails when -std=c++98 and -pedantic-errors options are specified (found on the devel/benchmark port) Date: Sat, 20 Jul 2024 12:39:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: 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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280382 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org Resolution|--- |DUPLICATE Status|New |Closed --- Comment #2 from Dimitry Andric --- This is another instance of our static_assert implementation in cdefs.h goi= ng haywire in C++98 mode, as already reported in bug 276738. The problem is th= at you would have to rewrite all static_assert invocations in libc++'s headers with extra parentheses, which is not going to happen. (In fact, upstream has been removing these old compat crutches actively.) The fix here is simply to remove -pedantic-errors, as this option serves no useful purpose, except being overly pedantic. :) *** This bug has been marked as a duplicate of bug 276738 *** --=20 You are receiving this mail because: You are the assignee for the bug.=