Page MenuHomeFreeBSD

Fix -Wunused-variable warning in bmake without USE_FILEMON
AbandonedPublic

Authored by arichardson on Feb 11 2018, 10:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 17 2026, 9:17 AM
Unknown Object (File)
May 16 2026, 10:03 AM
Unknown Object (File)
May 7 2026, 6:37 PM
Unknown Object (File)
Apr 17 2026, 7:41 PM
Unknown Object (File)
Apr 15 2026, 8:59 AM
Unknown Object (File)
Apr 9 2026, 1:37 AM
Unknown Object (File)
Apr 9 2026, 1:20 AM
Unknown Object (File)
Mar 16 2026, 4:00 AM
Subscribers
None

Details

Reviewers
sjg
imp
jhb
Summary

This happens for example when building FreeBSD on MacOS since the check
in the Makefile will determine that filemon is not available. I am not
sure how to fix the check to be for the target system rather than the
host so for now I just added a TODO comment there.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14953
Build 15065: arc lint + arc unit

Event Timeline

imp added inline comments.
usr.bin/bmake/Makefile
96–97

I wonder why we don't just always build this... The make code appears to cope with being told to use filemon, but /dev/filemon not opening.

This revision is now accepted and ready to land.Feb 11 2018, 5:54 PM
usr.bin/bmake/Makefile
96–97

This will be fixed with next import