From nobody Mon Dec 06 09:14:08 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 2134A18D093C for ; Mon, 6 Dec 2021 09:14:09 +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 4J6yRN64zqz4bYQ for ; Mon, 6 Dec 2021 09:14:08 +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 B09CF8DD for ; Mon, 6 Dec 2021 09:14:08 +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 1B69E8ED015621 for ; Mon, 6 Dec 2021 09:14:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B69E83J015620 for standards@FreeBSD.org; Mon, 6 Dec 2021 09:14:08 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 09:14:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: contact@emersion.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: 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=1638782048; 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=gqTV/hLa504m40oFHAt3y36ZDEiJOL1DJ7Gz6lXm0ns=; b=PZpGt4vMKvTuDl9b345l4cPSpxMQYGx7Rt1X9tNK2hO0RDMXnRtBZFV9Q4bUAr/VTh5jX5 ZkjiAmfr7PaTikjb637hS/nDUROZYjFwzRQjNgQkii1gXKN1Jw6H/eZwFkxTmtNPtBtHOM lQRcSx4z6kXcztekFk/m3py8bndsHoYqrXNr4mPlXowd5c9jhd7OnOIDJT6opqG/ZViKUj EFZIZfDCDSArIpyKC4jaUXR/3op594oyuFLa4iu8S9OYpm2w9lQrUWU+lCXwjOqFYVwp16 MVQq80ZPdOfeZHssEz9wr2k9vlE4Xlm8zWidPHeZxJtvJhSEnXx2L0ymM0LmFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638782048; a=rsa-sha256; cv=none; b=Q4wAIBzB+JgYPwSUp9trDIx4BYxZErRDaMjZxiSwWq+xF3PU76eMGGvKzCT/pCIkHU+KyI 2B6xrGE/Kw2LlOSt1vSFP5/txhqfQEZV+xodvXayuwbrICskQvg+7PIjSAFlds/2ItZ6rC YecRlvPOBPZYf3TT7c63FEqIYm14MCggwAyEKJ35d6JuU2nQ3LHiCDnGS3X+Mo3Y1T0G0n 27QVo2VufsrBdQSbfw4yWC/R/nmogB3KlI0j7p4HMuIu6U7NqrE/T8hs5MIDq9jH5YTr8d AytNEyeKrycEy0rXYRYRlrF4oL1NVpciJoqY7VaPRiuWfgObTQiDL8fyDU60Pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260251 Bug ID: 260251 Summary: static_assert not defined Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: contact@emersion.fr static_assert isn't defined in even though it's in the C11 stand= ard. See C11 standard (ISO/IEC 9899:2011) section 7.2 Diagnostics (p: 186-187). - Example failure: https://builds.sr.ht/~emersion/job/643193 - Reference: https://en.cppreference.com/w/c/language/_Static_assert Suggested fix: remove !defined(__cplusplus) here: https://github.com/freebsd/freebsd-src/blob/9c612a5d0af17021abc6e1bb2a8baa5= a4c97d05f/include/assert.h#L72 --=20 You are receiving this mail because: You are the assignee for the bug.=