[pedevel] Re: compile issue on r584 + haiku x86gcc2 30928

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Sat, 06 Jun 2009 15:12:46 +0200

On 2009-06-06 at 04:21:05 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> it did build on x86gg4 30765
> (i'm currently building the r30978 to test)
> 
> /misc_obj/programmer-editor> svn info
> Path: .
> URL: svn://svn.berlios.de/pe-editor/trunk
> Repository Root: svn://svn.berlios.de/pe-editor
> Repository UUID: cdae58ac-7104-0410-addd-a5e18705bff5
> Revision: 584
> Node Kind: directory
> Schedule: normal
> Last Changed Author: bonefish
> Last Changed Rev: 584
> Last Changed Date: 2009-05-08 23:22:32 +0000 (Fri, 08 May 2009)
> 
> /misc_obj/programmer-editor> jam -q
> ...found 892 target(s)...
> ...updating 102 target(s)...
> C++ generated/objects-nodebug/Extensions/HeaderHeader.o
> /boot/develop/headers/be/storage/FilePanel.h:26: warning:
> `BRefFilter::Filter(const entry_ref *, BNode *, stat_beos *, const
> char *)' was hidden
> /misc_obj/programmer-editor/Extensions/HeaderHeader.cpp:221: warning:
>  by `MimeRefFilter::Filter(const entry_ref *, BNode *, stat *, const
> char *)'
> /misc_obj/programmer-editor/Extensions/HeaderHeader.cpp: In function
> `status_t RunPopUpMenu(BPoint, BString &, BString &,
> CLanguageInterface *)':
> /misc_obj/programmer-editor/Extensions/HeaderHeader.cpp:558: cannot
> declare variable `filter' to be of type `MimeRefFilter'
> /misc_obj/programmer-editor/Extensions/HeaderHeader.cpp:558:   since
> the following virtual functions are abstract:
> /boot/develop/headers/be/storage/FilePanel.h:26:        bool
> BRefFilter::Filter(const entry_ref *, BNode *, stat_beos *, const char
> *)

Yep, I broke Haiku's BRefFilter backwards source compatibility with the 
struct stat changes. Couldn't be solved differently. The "struct stat" 
parameter of BRefFilter::Filter() implementing classes has to be replaced 
by a "struct stat_beos" when building for Haiku. I put that on my mental 
TODO list.

CU, Ingo

Other related posts: