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, Oct 9, 2:48 AM
Unknown Object (File)
Mon, Oct 6, 1:10 PM
Unknown Object (File)
Sun, Oct 5, 12:59 PM
Unknown Object (File)
Sun, Oct 5, 10:11 AM
Unknown Object (File)
Mon, Sep 22, 11:00 PM
Unknown Object (File)
Sun, Sep 21, 1:03 AM
Unknown Object (File)
Aug 22 2025, 5:19 PM
Unknown Object (File)
Aug 2 2025, 10:20 AM
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.