Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 22:22:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 255290] _POSIX_C_SOURCE=200809 hides static_assert
Message-ID:  <bug-255290-99-imiVQAYssi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255290-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255290-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255290

--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Da709a4f0d4e0303eb40ea1b39b4bb3583=
7800805

commit a709a4f0d4e0303eb40ea1b39b4bb35837800805
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-05-06 22:20:19 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-05-06 22:20:36 +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

 sys/sys/cdefs.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255290-99-imiVQAYssi>