Bug 157707

Summary: Build fails on kmfoldermaildir - wrong prototype for 'bool KMFolderMaildir::canAccess()'
Product: [Applications] kmail Reporter: Ben P. <bhole>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ben P. 2008-02-12 06:13:10 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.1.2 
OS:                Linux

Build from Gentoo overlay errors with:

/home/portage/tmp/portage/kde-base/kdepim-9999.4/work/kdepim-9999.4/kmail/kmfoldermaildir.cpp:86: error: prototype for 'bool KMFolderMaildir::canAccess() const' does not match any in class 'KMFolderMaildir'
/home/portage/tmp/portage/kde-base/kdepim-9999.4/work/kdepim-9999.4/kmail/kmfoldermaildir.h:66: error: candidate is: virtual int KMFolderMaildir::canAccess()
make[2]: *** [kmail/CMakeFiles/kmailprivate.dir/kmfoldermaildir.o] Error 1


Looking at the WebSVN, Revision 773896 of kmailfoldermaildir.cpp changes the return type to 'bool' without a change in kmailfoldermaildir.h
Comment 1 Ben P. 2008-02-12 19:09:49 UTC
Ok, fixed in a recent revision