Opened 3 years ago

Last modified 3 years ago

#17364 new bug

Build broken with VFS_PAGES_IO_TRACING (Werror=overloaded-virtual)

Reported by: mmu_man Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

For some reason my build/user_config_headers/tracing_config.h has VFS_PAGES_IO_TRACING enabled, and the build fails on Linux for x86_gcc2:

C++ objects/haiku/x86_gcc2/release/system/kernel/fs/vfs.o 
C++ objects/haiku/x86_gcc2/release/system/kernel/slab/allocator.o 
In file included from ../headers/private/kernel/AllocationTracking.h:12,
                 from ../headers/private/kernel/vm/vm_types.h:15,
                 from ../headers/private/kernel/file_cache.h:10,
                 from ../src/system/kernel/fs/vfs.cpp:43:
../headers/private/kernel/tracing.h:117:15: error: 'virtual void AbstractTraceEntry::AddDump(TraceOutput&)' was hidden [-Werror=overloaded-virtual]
  virtual void AddDump(TraceOutput& out);
               ^~~~~~~
../src/system/kernel/fs/vfs.cpp:653:7: error:   by 'void VFSPagesIOTracing::PagesIOTraceEntry::AddDump(TraceOutput&, const char*)' [-Werror=overloaded-virtual]
  void AddDump(TraceOutput& out, const char* mode)
       ^~~~~~~

Change History (1)

comment:1 by waddlesplash, 3 years ago

Component: - GeneralSystem/Kernel
Note: See TracTickets for help on using tickets.