Page MenuHomeFreeBSD

Use __ISO_C_VISIBLE, as opposed to testing __STDC_VERSION__.
ClosedPublic

Authored by ed on Jun 22 2017, 3:03 PM.
Tags
None
Referenced Files
F137128453: D11303.id29949.diff
Fri, Nov 21, 5:12 AM
F137127856: D11303.id.diff
Fri, Nov 21, 5:09 AM
F137127567: D11303.id29958.diff
Fri, Nov 21, 5:08 AM
F137126897: D11303.diff
Fri, Nov 21, 5:05 AM
Unknown Object (File)
Mon, Nov 17, 2:57 PM
Unknown Object (File)
Mon, Nov 17, 2:38 PM
Unknown Object (File)
Mon, Nov 17, 1:50 AM
Unknown Object (File)
Mon, Nov 17, 12:33 AM
Subscribers

Details

Summary

FreeBSD's C library uses STDC_VERSION to determine whether the
compiler provides language features specific to a certain version of the
C standard. __ISO_C_VISIBLE is used to specify which library features
need to be exposed.

max_align_t currently uses STDC_VERSION, even though it should be
using __ISO_C_VISIBLE to remain consistent with the rest of the headers
in include/.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10059
Build 10484: arc lint + arc unit