[haiku-bugs] [Haiku] #11983: x86_64 debug build broken since 48954

  • From: "luroh" <trac@xxxxxxxxxxxx>
  • Date: Sat, 18 Apr 2015 19:20:43 -0000

#11983: x86_64 debug build broken since 48954
-------------------------------------+------------------------------
Reporter: luroh | Owner:
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: File Systems/UserlandFS | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: x86-64 |
-------------------------------------+------------------------------
hrev49052. The x86_64 debug build has been broken for a few weeks.

{{{
C++ /home/luroh/develop/haiku/haiku/generated/objects/haiku/x86_64/debug_1
/add-ons/kernel/file_systems/userlandfs/kernel_add_on/RequestAllocator.o
In file included from /home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:10:0:
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp: In member
function 'void UserlandFSUtil::RequestAllocator::FinishDeferredInit()':
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:96:65:
error: format '%ld' expects argument of type 'long int', but argument 2
has type 'area_id {aka int}' [-Werror=format=]
"offset: %ld, size: %ld\n", info.area, info.offset, info.size));
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:104:19:
note: in expansion of macro 'DEBUG_CONTEXT'
#define TPRINT(x) DEBUG_CONTEXT( __out x )
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:95:3:
note: in expansion of macro 'PRINT'
PRINT(("RequestAllocator::FinishDeferredInit(): area: %ld, "
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:96:65:
error: format '%ld' expects argument of type 'long int', but argument 3
has type 'int32 {aka int}' [-Werror=format=]
"offset: %ld, size: %ld\n", info.area, info.offset, info.size));
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:104:19:
note: in expansion of macro 'DEBUG_CONTEXT'
#define TPRINT(x) DEBUG_CONTEXT( __out x )
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:95:3:
note: in expansion of macro 'PRINT'
PRINT(("RequestAllocator::FinishDeferredInit(): area: %ld, "
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:96:65:
error: format '%ld' expects argument of type 'long int', but argument 4
has type 'int32 {aka int}' [-Werror=format=]
"offset: %ld, size: %ld\n", info.area, info.offset, info.size));
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:104:19:
note: in expansion of macro 'DEBUG_CONTEXT'
#define TPRINT(x) DEBUG_CONTEXT( __out x )
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:95:3:
note: in expansion of macro 'PRINT'
PRINT(("RequestAllocator::FinishDeferredInit(): area: %ld, "
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp: In member
function 'status_t
UserlandFSUtil::RequestAllocator::AllocateAddress(UserlandFSUtil::Address&,
int32, int32, void**, bool)':
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:255:64:
error: format '%ld' expects argument of type 'long int', but argument 2
has type 'area_id {aka int}' [-Werror=format=]
"%ld, size: %ld (%ld), data: %p\n", area, size, areaSize, *data));
^
/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:96:2:
note: in definition of macro 'DEBUG_CONTEXT'
x; dbg_printf_end(); }
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:254:1:
note: in expansion of macro 'PRINT'
PRINT((" RequestAllocator::AllocateAddress(): deferred allocated area: "
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:255:64:
error: format '%ld' expects argument of type 'long int', but argument 3
has type 'int32 {aka int}' [-Werror=format=]
"%ld, size: %ld (%ld), data: %p\n", area, size, areaSize, *data));
^
/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:96:2:
note: in definition of macro 'DEBUG_CONTEXT'
x; dbg_printf_end(); }
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:254:1:
note: in expansion of macro 'PRINT'
PRINT((" RequestAllocator::AllocateAddress(): deferred allocated area: "
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:255:64:
error: format '%ld' expects argument of type 'long int', but argument 4
has type 'int32 {aka int}' [-Werror=format=]
"%ld, size: %ld (%ld), data: %p\n", area, size, areaSize, *data));
^
/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:96:2:
note: in definition of macro 'DEBUG_CONTEXT'
x; dbg_printf_end(); }
^

/home/luroh/develop/haiku/haiku/headers/private/userlandfs/shared/Debug.h:113:19:
note: in expansion of macro 'TPRINT'
#define PRINT(x) TPRINT(x)
^
/home/luroh/develop/haiku/haiku/src/add-
ons/kernel/file_systems/userlandfs/private/RequestAllocator.cpp:254:1:
note: in expansion of macro 'PRINT'
PRINT((" RequestAllocator::AllocateAddress(): deferred allocated area: "
^
cc1plus: all warnings being treated as errors
}}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/11983>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: