From nobody Mon Dec 6 15:57:29 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 89C8518C7254 for ; Mon, 6 Dec 2021 15:57:33 +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 4J77Nq039sz4c9s for ; Mon, 6 Dec 2021 15:57:30 +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 AF61D68D1 for ; Mon, 6 Dec 2021 15:57:29 +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 1B6FvTIV034300 for ; Mon, 6 Dec 2021 15:57:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B6FvTdi034299 for standards@FreeBSD.org; Mon, 6 Dec 2021 15:57:29 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: standards@FreeBSD.org Subject: [Bug 255290] _POSIX_C_SOURCE=200809 hides static_assert Date: Mon, 06 Dec 2021 15:57:29 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@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: 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=1638806252; 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=vz6plPZW7LJmEu5hM5SbqhlFWjOSJ1nH6McLITn5OMg=; b=GZF2LJWbRs4B4uebIZaf3zhR8EoPp1RA0H742Ap6FovJeOufA/9oENqAtWGwju/oQWTN49 fK5rZNEpebQsxzpMTO3nU1IJQVjGlOycqYqlsFj8O2DVXEvEVQcPpHja0v5gWMXnsWG8qr bNb81nKplcA//AgJIac6Zs7iqBxva7IqOaIMQ5WKzE3ak6JsQju5h6mhS1f9pPr7b0UQ2B 9iDsrYZp1pAd48vV8Qj7lXGOtVGYERXVzy7B1kgcMC0F/SvW9/fFCLRkrkNKi3B2sLF1Tf snE9lkiOzeIQe1hBRYQteEXPLR6ldcL3894JwElOl8qO9Wa72w1fKR+rJ74E0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806252; a=rsa-sha256; cv=none; b=G7IU8okTTYclSmwb8F+Kz/UhrZXyi/rksdmuOthI8a6oeeVoZNLieEqmFHOrsGVn1MbjY4 kfTYp6EMXxUEZUueAOkDhI87bYUzKgeJktWKyfUvjdJq0M4H1TONlBRg9wqMDU/SLfCpyQ W+fuB6BgusA8oSwbSXESWfrFMeLm/AXfSjkn47UqJ4y1tBLR7TD+sRgt5i6NgztEwnHNsy 11fsTR017/KWi6YReBFJp3NQwTx4VxqLCFWlYm0LrGxKA8lc4hcg3jw/k70DryN61D49R1 oiL3HdAye3mX3HOiqFCsqmJyAG8USyqIePUEnAtcAJA3hqvn/ncWLtKz0/f6wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255290 --- Comment #22 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3f82687cdf02983d8f3294df4d97b09cf= 211141b commit 3f82687cdf02983d8f3294df4d97b09cf211141b Author: Warner Losh AuthorDate: 2021-05-06 22:20:19 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:56:00 +0000 headers: Implement _ISOC11_SOURCES macro when __POSIX_C_SOURCE defined When _ISOC11_SOURCES is defined for glibc at the same time __POSIX_C_SOURCE is defined, it extends the __POSIX_C_SOURCE definition by exaclty what C11 adds to the spec for each system header. We follow both OpenBSD's and glibc's convention by also C11 or higher compliation mode is selected. The Open Group is working on issuing a new version of the POSIX standard that will realign the standard from C99 to a newer version of C. This commit is a stop-gap measure for greater compatibility until that environment has been standardized. Reviewed by: brooks@, arichards@, Olivier Certne (comments tweaked before commit) PR: 255290 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29902 (cherry picked from commit a709a4f0d4e0303eb40ea1b39b4bb35837800805) sys/sys/cdefs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=