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
Unknown Object (File)
Tue, Aug 11, 12:22 PM
Unknown Object (File)
Tue, Aug 11, 9:27 AM
Unknown Object (File)
Tue, Aug 11, 6:47 AM
Unknown Object (File)
Mon, Aug 10, 9:23 PM
Unknown Object (File)
Mon, Aug 10, 10:30 AM
Unknown Object (File)
Mon, Aug 10, 10:21 AM
Unknown Object (File)
Sun, Aug 9, 6:08 AM
Unknown Object (File)
Thu, Aug 6, 9:36 PM
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 Not Applicable
Unit
Tests Not Applicable