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)
Nov 19 2024, 5:23 PM
Unknown Object (File)
Nov 4 2024, 6:15 AM
Unknown Object (File)
Nov 4 2024, 6:14 AM
Unknown Object (File)
Nov 4 2024, 5:56 AM
Unknown Object (File)
Oct 6 2024, 9:13 AM
Unknown Object (File)
Oct 1 2024, 11:42 AM
Unknown Object (File)
Sep 18 2024, 3:15 PM
Unknown Object (File)
Sep 18 2024, 3:15 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.