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
F133160071: D11303.id.diff
Thu, Oct 23, 12:47 PM
F133160070: D11303.id29958.diff
Thu, Oct 23, 12:47 PM
F133160068: D11303.id29949.diff
Thu, Oct 23, 12:47 PM
Unknown Object (File)
Thu, Oct 23, 4:05 AM
Unknown Object (File)
Fri, Oct 17, 3:00 PM
Unknown Object (File)
Thu, Oct 9, 1:37 AM
Unknown Object (File)
Mon, Oct 6, 6:53 PM
Unknown Object (File)
Sep 11 2025, 3:28 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