Bug 157707 - Build fails on kmfoldermaildir - wrong prototype for 'bool KMFolderMaildir::canAccess()'
Summary: Build fails on kmfoldermaildir - wrong prototype for 'bool KMFolderMaildir::c...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 06:13 UTC by Ben P.
Modified: 2008-02-12 19:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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