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
F133077881: D43000.id131266.diff
Wed, Oct 22, 6:45 PM
Unknown Object (File)
Tue, Oct 21, 1:37 AM
Unknown Object (File)
Sat, Oct 18, 6:22 PM
Unknown Object (File)
Sat, Oct 18, 4:57 AM
Unknown Object (File)
Thu, Oct 16, 11:48 PM
Unknown Object (File)
Thu, Oct 16, 10:33 PM
Unknown Object (File)
Thu, Oct 16, 1:42 AM
Unknown Object (File)
Fri, Sep 26, 5:30 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