Page MenuHomeFreeBSD

libc++: Fix deprecation warnings with latest clang
ClosedPublic

Authored by arichardson on Sep 14 2025, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 9:47 PM
Unknown Object (File)
Mon, Oct 20, 12:40 PM
Unknown Object (File)
Sun, Oct 19, 7:27 AM
Unknown Object (File)
Sat, Oct 18, 4:18 AM
Unknown Object (File)
Fri, Oct 17, 2:14 AM
Unknown Object (File)
Wed, Oct 15, 4:19 PM
Unknown Object (File)
Sat, Oct 11, 5:23 AM
Unknown Object (File)
Sat, Oct 11, 5:23 AM
Subscribers

Details

Summary

Latest clang has become more strict in diagnosing deprecated decls, so
pull in LLVM commit 9feac2cbd0d80927ce9a8b4c3e810d2b81802d55.

Original commit message:
[libc++] Improve deprecated diagnostic guards.

Recent Clang-21 builds improved the deprecated diagnotics. This
uncovered missing guards in libc++ internally.

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 15 2025, 12:14 PM

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

will drop that part of the commit message, I guess something went wrong when this was committed upstream.