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)
Fri, May 23, 9:11 PM
Unknown Object (File)
Fri, May 23, 8:37 PM
Unknown Object (File)
Fri, May 23, 12:28 PM
Unknown Object (File)
Tue, May 20, 2:37 AM
Unknown Object (File)
Fri, May 16, 4:14 AM
Unknown Object (File)
Thu, May 15, 1:00 PM
Unknown Object (File)
Apr 21 2025, 2:48 PM
Unknown Object (File)
Apr 21 2025, 10:46 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 Not Applicable
Unit
Tests Not Applicable