Page MenuHomeFreeBSD

Correctly check for C++17 and higher when declaring timespec_get()
ClosedPublic

Authored by dim on Dec 9 2019, 6:33 PM.
Tags
None
Referenced Files
F107161095: D22735.diff
Sat, Jan 11, 1:45 AM
Unknown Object (File)
Thu, Dec 26, 12:25 PM
Unknown Object (File)
Dec 3 2024, 3:15 AM
Unknown Object (File)
Dec 2 2024, 4:37 PM
Unknown Object (File)
Dec 2 2024, 5:55 AM
Unknown Object (File)
Dec 2 2024, 5:55 AM
Unknown Object (File)
Dec 1 2024, 7:15 PM
Unknown Object (File)
Nov 21 2024, 6:11 PM
Subscribers

Details

Summary

In rS338751, the check to declare timespec_get() for C++17 and higher
was incorrectly done against a cplusplus define, while it should have
been __cplusplus.

Fix this by using __cplusplus, and also bump __FreeBSD_version so it
becomes possible to correctly check for timespec_get() in upstream
libc++ headers.

Diff Detail

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