Page MenuHomeFreeBSD

libc: Fix C23 version macro visibility
ClosedPublic

Authored by des on Sun, Aug 30, 2:40 PM.
Tags
None
Referenced Files
F169564932: D59272.id185440.diff
Tue, Sep 1, 10:44 PM
F169506000: D59272.diff
Tue, Sep 1, 6:10 PM
F169495800: D59272.id.diff
Tue, Sep 1, 5:16 PM
F169483109: D59272.diff
Tue, Sep 1, 4:07 PM
Unknown Object (File)
Mon, Aug 31, 5:03 AM
Unknown Object (File)
Mon, Aug 31, 2:25 AM
Unknown Object (File)
Mon, Aug 31, 1:37 AM
Unknown Object (File)
Sun, Aug 30, 5:23 PM
Subscribers

Details

Summary

In headers that existed prior to C23, these should be visible only in
C23 or BSD mode.

Fixes: 0fe73dcf7c32 ("libc: Add <assert.h> C23 feature test macro")
Fixes: 1f09e354297c ("sys/limits.h: Add BOOL_MAX, BITINT_MAXWIDTH, and C23 feature test macro")
Fixes: cd0727ec709b ("libc: Add <stdio.h> C23 feature test macro")
Fixes: fc9d02cb29ed ("libc: Add <time.h> C23 feature test macro")
Fixes: 4aeed6e9d213 ("libc: Add <setjmp.h> C23 feature test macro")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76331
Build 73214: arc lint + arc unit

Event Timeline

des requested review of this revision.Sun, Aug 30, 2:40 PM

LGTM. Looks to be exactly as we discussed on August 25th (thumbs up)

This revision is now accepted and ready to land.Sun, Aug 30, 2:46 PM

This looks reasonable.
Approved for commit.

LGTM. Looks to be exactly as we discussed on August 25th (thumbs up)

It is, but I shouldn't have had to do it myself.

This revision was automatically updated to reflect the committed changes.