CVS Build fails

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Nov 30 19:17:16 GMT 2004


On Tuesday 30 November 2004 17:29, Nick Savoiu wrote:
> Hi all,
>
> I'm trying to build KDevelop from the KDE repository (i.e. downloaded all
> sources via CVS) but it seems to fail at:
>
> Making all in fileview
> Makefile:1058: warning: overriding commands for target
> `vcscolorsconfigwidgetbase.moc'
> Makefile:838: warning: ignoring old commands for target
> `vcscolorsconfigwidgetbase.moc'
> fileviewpart.cpp: In member function `KDevVersionControl*
>    FileViewPart::versionControl()':
> fileviewpart.cpp:151: parse error before `>' token
>
> The code seems pretty benign:
>
> 149 KDevVersionControl *FileViewPart::versionControl()
> 150 {
> 151     return extension<KDevVersionControl>("KDevelop/VersionControl");
> 152 }
>
> Any ideas?
It doesn't build for me either. I've had to change all similar lines to use a 
static_cast in my local copy of KDevelop like this:

KDevVersionControl *FileViewPart::versionControl()
{
     return 
static_cast<KDevVersionControl*>(extension("KDevelop/VersionControl"));
}

I'm using gcc 3.2.2

-- Richard

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list