#6273 closed bug (fixed)
TRACE_VM_PAGE breaks build
Reported by: | lucian | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
On my gcc4 config (which closely follows the ReadMe and ReadMe.cross-compile guides) warnings break the build.
When defining TRACE_VM_PAGE
the compiler issues warnings about different types in dprintf()
's formatting string and the parameters. For example it cannot map page_num_t
back to unsigned long
. The warning is treated as an error an build fails.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | vm_page-add-casts-to-debug-messages-to-fix-compile-err.patch added |
---|
comment:1 by , 14 years ago
patch: | 0 → 1 |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 14 years ago
I wanted to suggest something like this. Didn't know these macros existed. Thanks :)
Note:
See TracTickets
for help on using tickets.
Thanks! The better solution is to use the
B_PRI*
macros, though. Done in hrev37411.