Bug 89975 - Make fails on akregator_plugin.h with invalid covariant return type for `virtual KParts::Part*aKregatorPlugin::createPart()'
Summary: Make fails on akregator_plugin.h with invalid covariant return type for `virt...
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: kontact plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 21:50 UTC by Justin Lambert
Modified: 2004-09-22 04:40 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 Justin Lambert 2004-09-21 21:50:53 UTC
Version:           akregator-1.0_beta6 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-3.4.2 
OS:                Linux

Running gentoo ACCEPT_KEYWORDS="~x86", kde-cvs.  Akregator 1.0-b6 failes on compile with the following error:

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.-I../../.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o akregator_partiface_stub.lo `test -f 'akregator_partiface_stub.cpp' || echo './'`akregator_partiface_stub.cpp
In file included from akregator_plugin.cpp:22:
akregator_plugin.h:39: error: invalid covariant return type for `virtual KParts::Part*aKregatorPlugin::createPart()'
/usr/kde/cvs/include/kontact/plugin.h:241: error:   overriding `virtual KPIM::Part* Kontact::Plugin::createPart()'
make[4]: *** [akregator_plugin.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/akregator-1.0_beta6/work/akregator-1.0_beta6/akregator/src/kontact_plugin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/akregator-1.0_beta6/work/akregator-1.0_beta6/akregator/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/akregator-1.0_beta6/work/akregator-1.0_beta6/akregator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/akregator-1.0_beta6/work/akregator-1.0_beta6'
make: *** [all] Error 2
Comment 1 Sashmit Bhaduri 2004-09-22 04:39:05 UTC
Are you using kde-cvs?
Comment 2 Sashmit Bhaduri 2004-09-22 04:40:22 UTC
Ah, looks like you are. Yeah, we fixed that already. Either use akregator from cvs in kdenonbeta or wait for beta7.