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)
Wed, May 8, 7:43 PM
Unknown Object (File)
Wed, May 8, 5:31 PM
Unknown Object (File)
Wed, May 8, 1:16 PM
Unknown Object (File)
Sat, May 4, 4:26 AM
Unknown Object (File)
Sun, Apr 28, 7:12 PM
Unknown Object (File)
Sat, Apr 27, 2:45 PM
Unknown Object (File)
Apr 9 2024, 6:12 AM
Unknown Object (File)
Jan 12 2024, 3:09 AM
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