Page MenuHomeFreeBSD

Fix compilation when -DDEBUG is defined
ClosedPublic

Authored by ngie on Dec 8 2015, 4:58 AM.
Tags
None
Referenced Files
F86932294: D4434.id.diff
Thu, Jun 27, 1:20 PM
Unknown Object (File)
May 9 2024, 12:20 AM
Unknown Object (File)
Feb 3 2024, 8:32 AM
Unknown Object (File)
Jan 9 2024, 2:15 PM
Unknown Object (File)
Jan 6 2024, 2:41 AM
Unknown Object (File)
Dec 20 2023, 1:25 AM
Unknown Object (File)
Dec 16 2023, 9:19 AM
Unknown Object (File)
Dec 16 2023, 9:18 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.