Page MenuHomeFreeBSD

jevents: fix bootstrapping on Linux with Clang 16
ClosedPublic

Authored by arichardson on Dec 11 2023, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 6:57 PM
Unknown Object (File)
Sat, Nov 16, 4:38 AM
Unknown Object (File)
Sat, Nov 16, 2:41 AM
Unknown Object (File)
Sep 20 2024, 5:30 AM
Unknown Object (File)
Sep 18 2024, 2:35 PM
Unknown Object (File)
Sep 15 2024, 12:48 PM
Unknown Object (File)
Sep 9 2024, 8:26 AM
Unknown Object (File)
Sep 7 2024, 7:08 PM
Subscribers
None

Details

Summary

It appears that Clang 16 errors by default for the mismatched function
pointer types that are triggered by the fts callback.
Add an ifdef to handle this case.

Test Plan

builds now

Diff Detail

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

Event Timeline

arichardson created this revision.

The commit message should say that GLIBC has different function prototypes for its version of FTS callback than BSD does a little more explicitly.

This revision is now accepted and ready to land.Dec 11 2023, 11:09 PM