[haiku-commits] Re: haiku: hrev48323 - in src/tests/add-ons/kernel/file_systems/userlandfs/cdda: . src/tests/add-ons/kernel/file_systems/userlandfs

  • From: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 17 Nov 2014 11:28:31 -0600

On , pulkomandy@xxxxxxxxxxxxx wrote:
hrev48323 adds 1 changeset to branch 'master'
old head: a6d4e0b678d39de9d7a08bb155f66658298500f7
new head: da8f008d15a391f8f05e5139c07c514962a448c3
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=da8f008+%5Ea6d4e0b

----------------------------------------------------------------------------

da8f008: Add a amfile to build cdda for userlandfs.

It crashes early after mounting in get_vnode, but the UserlandFS won't
  build in DEBUG=1 (see #8422), making this not very helpful...

[ Adrien Destugues <pulkomandy@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48323
Commit:      da8f008d15a391f8f05e5139c07c514962a448c3
URL:         http://cgit.haiku-os.org/haiku/commit/?id=da8f008
Author:      Adrien Destugues <pulkomandy@xxxxxxxxx>
Date:        Mon Nov 17 16:20:57 2014 UTC

Ticket:      https://dev.haiku-os.org/ticket/8422

----------------------------------------------------------------------------

2 files changed, 32 insertions(+)
.../kernel/file_systems/userlandfs/Jamfile       |  1 +
.../kernel/file_systems/userlandfs/cdda/Jamfile | 31 ++++++++++++++++++++



These userlandfs changes break x86_64 :-)


/home/kallisti5/Code/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/ObjectTracker.cpp: In destructor 'UserlandFSUtil::ObjectTracker::~ObjectTracker()': /home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:95:55: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'thread_id {aka int}' [-Werror=format=] B_PRIdBIGTIME ": %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
                                                       ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:132:18: note: in expansion of macro 'DEBUG_CONTEXT'
  #define WARN(x) DEBUG_CONTEXT( __out x )
                  ^
/home/kallisti5/Code/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/ObjectTracker.cpp:40:3: note: in expansion of macro 'WARN' WARN(("ObjectTracker: WARNING: There are still undeleted objects:\n"));
   ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:95:55: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'thread_id {aka int}' [-Werror=format=] B_PRIdBIGTIME ": %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
                                                       ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:132:18: note: in expansion of macro 'DEBUG_CONTEXT'
  #define WARN(x) DEBUG_CONTEXT( __out x )
                  ^
/home/kallisti5/Code/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/ObjectTracker.cpp:40:3: note: in expansion of macro 'WARN' WARN(("ObjectTracker: WARNING: There are still undeleted objects:\n"));
   ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:95:55: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'thread_id {aka int}' [-Werror=format=] B_PRIdBIGTIME ": %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
                                                       ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:132:18: note: in expansion of macro 'DEBUG_CONTEXT'
  #define WARN(x) DEBUG_CONTEXT( __out x )
                  ^
/home/kallisti5/Code/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/ObjectTracker.cpp:42:4: note: in expansion of macro 'WARN'
    WARN(("  trackable: %p: type: `%s'\n", trackable,
    ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:95:55: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'thread_id {aka int}' [-Werror=format=] B_PRIdBIGTIME ": %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
                                                       ^
/home/kallisti5/Code/haiku/headers/private/userlandfs/shared/Debug.h:132:18: note: in expansion of macro 'DEBUG_CONTEXT'
  #define WARN(x) DEBUG_CONTEXT( __out x )
                  ^
/home/kallisti5/Code/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/ObjectTracker.cpp:42:4: note: in expansion of macro 'WARN'
    WARN(("  trackable: %p: type: `%s'\n", trackable,
    ^
cc1plus: all warnings being treated as errors


Other related posts: