From nobody Mon Dec 06 11:18:50 2021 X-Original-To: standards@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 B68BF18C071D for ; Mon, 6 Dec 2021 11:18:50 +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 4J71CG1C1Jz4tPZ for ; Mon, 6 Dec 2021 11:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 099BB28C3 for ; Mon, 6 Dec 2021 11:18:50 +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 1B6BInQ3082471 for ; Mon, 6 Dec 2021 11:18:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B6BIn7Q082470 for standards@FreeBSD.org; Mon, 6 Dec 2021 11:18:49 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: standards@FreeBSD.org Subject: [Bug 260251] static_assert not defined Date: Mon, 06 Dec 2021 11:18:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638789530; 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=5TY8pSvhR7fnMwBZxiH9JmE8Xgxd0vEeuvySMfJRlTs=; b=n7EEZHx0XGOxe9kOSP58B7uj0AIJ6tV37yXbFghUKBZIK1GVoiJkUQdSrctkQUqJKOzgkQ +Gr8o6hB8e8Tr8bofxcFG4yVcwEPBDKmVmkeRcvUab7q5cq6vQcNEqHnyLux0YPqJRzjzp r9EE3DmMHmpdIEJoJB2/Zsfgqesd0dvdg+GNutStl1Y89lTzOOxF6Gfz8rOvn7zxBUGhL2 hKomERzyy6fRiHxOWVl9LF4Au0RUfXnBDlt1DQbv0o3T0qc+ymzvIQMKZ60hP/UkqhjuV/ HWc8vfKyTd3o8IGiNsECNoqRJlb/lIqxLWUAPQgxiVDe1KXddI6iakraaf0OGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638789530; a=rsa-sha256; cv=none; b=sktyM3ffFMbwLKmPHQZKFO4Oc5X2FSMB8QCs8quWC6Us/YWI86N7tZ6PjxFRdhq9ABxGx1 0d2Bb93MhMqrLtwj2Y5CnsBEz5237+OJkh3GIKpOD64WsbxRfWzAEjdWkmsK8iBGZ5p6IQ igK4i7JEHYaPr5bjbvnUhBJMpn2H2CHPxG/kDvLLM+3Scoo4Kad2EG4IVMn1FnNz5Cbs0E uSQb/njwD7lKY2a4AIfguCb8PEm6RpYXxbj20rroHoybgdnf6zAPgXEO1wnc7PF224YeUY ZNuJTgR1CFEte/sySTjehY0hPJmaRcpwhQxLm40vvYIcPJFKibM03xeNrdUQfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260251 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|New |Closed CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov --- C and C++ are different languages. You are using C standard to request C++ feature that is explicitly disallowed by C++ standard: from ISO/IEC 14882:2017(E) 22.3.1 Header synopsis [cassert.syn] #define assert(E) see below 1 The contents are the same as the C standard library header , except that a macro named static_assert is not de=EF=AC=81ned. --=20 You are receiving this mail because: You are the assignee for the bug.=