From nobody Sat Jul 20 16:08:06 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 4WRBKL3H5Tz5RvT4 for ; Sat, 20 Jul 2024 16:08:06 +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 4WRBKL1ZlTz4TMm for ; Sat, 20 Jul 2024 16:08:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721491686; a=rsa-sha256; cv=none; b=bTWzl0bT5NChYjsJL9ru2oOu0RsTJW+Tc9yy9JLo1xN7uNSPMydwgPmPE8XiGt67dAe8Fe j8RpYI0uuYoRPdFfm806G/hDGkvP0UXvQprhC0I+re1EaxRdTpUqVxZezwdIUme0642WJG /achXizNQNTEZFCxJ/itiwinkMPtyFatImCNb4jPG6FstiQVPSitICQM0lk3EuJjckOc1w ALW7PtQhMwIK8wtvLRAiapGiDzSusPDrvzBWH4rZKwxjNjvCLqjxOZF0AFc28Orz7/I9yW LnWVm6vDaEikAxeMWQYIjpx8v5C5ZlPbQN263ziTG3SKOOt3arG3thIrOMhB4g== 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=1721491686; 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=8Nis5xmNh2K/FX/hVMymJH3KM6q2VQzBZ+TotMGyutE=; b=ocqdLqFxUUOUE/oHPoqegZ1RgLf7k9NdGRFJNb5wlrdhU3EjNZ2toYhuD5ciegiCU3XVPs 5WqFElQaCNcNM5vl+oKbWW6AXMQGdq8vVxMPlTmIra6lob8TBheg9aWnJ0jpIeO8NOLkka lrpqyuoBhYFJIsKEtmo2y1Xnutcmo3YGLEEva238jA6EHHzolUp9kjuGpNYHg7x43sBOaa OUzN4X11qNfLtbx638Ju3bEPk3E204kvbMiY8RS79D3qOolt17MDP0aJ7HAg2V50ZB+GVZ G3him/WGBluW1OOI/SpzcYcGxZSbqEvAJBV8tKcWmBNN2JnE0apeYyh17kv/ug== 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 4WRBKL0w4vzNPF for ; Sat, 20 Jul 2024 16:08:06 +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 46KG860r059477 for ; Sat, 20 Jul 2024 16:08:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46KG86le059468 for toolchain@FreeBSD.org; Sat, 20 Jul 2024 16:08:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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 16:08:06 +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: commit-hook@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: 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 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D22cdafe197ac960c5ce839ef6ec699b59= f4b0080 commit 22cdafe197ac960c5ce839ef6ec699b59f4b0080 Author: Warner Losh AuthorDate: 2024-07-20 15:57:53 +0000 Commit: Warner Losh CommitDate: 2024-07-20 15:57:53 +0000 cdefs.h: Don't define fallback for _Static_assert Remove pre 4.6 code to define _Static_assert in terms of _COUNTER. We no longer need to support compilers this old (in fact support for all pre gcc 10 compilers has been removed in -current). This is a partial MFC of that work because removing this fixes a bug that's oft reported with -pedantic-errors and C++98 compilations. PR: 280382, 276738 Sponsored by: Netflix This is a direct commit to stable/14. sys/sys/cdefs.h | 9 --------- 1 file changed, 9 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=