Page MenuHomeFreeBSD

Fix compilation when -DDEBUG is defined
ClosedPublic

Authored by ngie on Dec 8 2015, 4:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 23, 12:38 AM
Unknown Object (File)
Sat, Apr 4, 4:17 AM
Unknown Object (File)
Mar 24 2026, 4:39 AM
Unknown Object (File)
Mar 19 2026, 11:24 AM
Unknown Object (File)
Mar 17 2026, 9:49 AM
Unknown Object (File)
Mar 16 2026, 9:21 PM
Unknown Object (File)
Jan 31 2026, 12:23 PM
Unknown Object (File)
Dec 12 2025, 2:54 PM
Subscribers

Details

Reviewers
jhb
Summary

Fix compilation when -DDEBUG is defined

Add inttypes.h #include for intmax_t type

MFC after: 3 days
Reported by: cppcheck
Sponsored by: EMC / Isilon Storage Division

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1478
Build 1484: arc lint + arc unit

Event Timeline

ngie retitled this revision from to Fix compilation when -DDEBUG is defined.
ngie updated this object.
ngie edited the test plan for this revision. (Show Details)
ngie added a reviewer: jhb.
jhb edited edge metadata.

Alternatively we could probably drop the DEBUG traces at this point. Those date back to when this was part of the patches to sysutils/mcelog.

This revision is now accepted and ready to land.Dec 8 2015, 5:45 PM

It probably should be done in a separate commit. I can MFC this and work on removing the DEBUG statements.