From nobody Wed Jan 31 19:22:07 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 4TQBk83rdvz586Fr for ; Wed, 31 Jan 2024 19:22:08 +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 4TQBk762xQz4ZGC for ; Wed, 31 Jan 2024 19:22:07 +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=1706728927; 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=8H/SFMZn1OGglXwuKQDFmW+cPSpcZVNJtHwa3j9uZcQ=; b=SGiTrOnM+eh9rSRESt6F8DtOSSHnAotXzFsCBDvLoy3sYGZfFHHD3bVuKrSwsz3sL+Sk/s CT35tp2cZ8TmFNtz5dMo/unwBfBKxML8QNpmIkL6f+t0gZZzI6FVQbJoT4IyMDYPYkqq7i f5to+oCPSC4kbiTOEEjuOeWzSEEGmWszI3k3ur1vpIx9RPOBholy7zmFSCsom4ZvAL+75c DxCMCH6Li1A4yI/whurTle2zVawnS794mVuKZvrkIk1ayztkhRWa+1XkNsdnYTD06As/ih e8lQTJSyhgJE4sVCsSg9WaHdUgk53obCpcRxpWZP7LyD8OCXdOfw4gpXA57qEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706728927; a=rsa-sha256; cv=none; b=f/A9CJThAhdH9tQWDmqw5GEbItaTmJLehTYfEoYK1dipEf2D1OlTI0P/mSrWlj6t6jeW5G lege8yxpdYkFz8dZLIll/vMzZcABYvxPxDhyNZVga5r8v98tKpyCTRzr/obDV80YFdhcJI FlF5EV3AI4Jnr9s33ucHRGRK9fXBxbM1hd4AmI8BDGv05DVCfWMbXaUKuLQRrkID0QL47W bb2cnEllr9pgFXm60BZmxjRPVfZ390GCU0/SaUhUqc+oc6HueJpTQVP+7CM/+G5Q8LSQ1X teSv/MgnmzkYRiFMSWjLRM88/3DE1HJIrEUoyuZiNHUrgM1VHJmJdxtwjfFqnA== 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 4TQBk7569pzW80 for ; Wed, 31 Jan 2024 19:22:07 +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 40VJM7b8004972 for ; Wed, 31 Jan 2024 19:22:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40VJM7IK004948 for toolchain@FreeBSD.org; Wed, 31 Jan 2024 19:22:07 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 276738] clang: static_assert conflicts with -std=c++98 -pedantic-errors Date: Wed, 31 Jan 2024 19:22:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: 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: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276738 --- Comment #5 from Mark Millard --- (In reply to Henri Menke from comment #2) My notes on interpreting this: "it doesn't say anywhere explicitly that C++98 is unsupported.": listing everything not supported is highly unusual and would be a big effort. Normally if support is not mentioned, it is not supported and what is explicitly supported is explicitly mentioned. The lack of a page https://libcxx.llvm.org/DesignDocs/ExtendedCXX98Support.= html is also highly suggestive of lack of C++98 support. Even https://libcxx.llvm.org/DesignDocs/ExtendedCXX03Support.html says for C++03: QUOTE Clang provides a large subset of C++11 in C++03 as an extension. END QUOTE (Again, an explicit mention of the partial support.) But C++03 is after C++ 98 as well and that note does not imply anythign for the C++98 status. I fully agree that having a error report that was in terms of static_assert notation would be far better error handling than what now happens. But an error report of some kind should be what happens as far as I can tell. Being C++ backwards compatible is messier than for C generally. It is unlikely FreeBSD would taken on such for C++ subjects where upstream does not. Quality of error messages where FreeBSD code contributes to why the message is odd is something FreeBSD is more likely to deal with. --=20 You are receiving this mail because: You are the assignee for the bug.=