Can't build current KDevelop

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Nov 22 11:35:07 UTC 2004


On Monday 22 November 2004 07:43, Roger Larsson wrote:
> On Saturday 20 November 2004 15.38, Richard Dale wrote:
> > I'm using gcc 3.2.2:
> > gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)
> >
> > Is there a bug in its template handling of some sort?
>
> Unless Yellow Dog (PowerPC) has included some additional bugfixes in
> their gcc-3.2.2 it could certainly be a compiler problem
>
> http://gcc.gnu.org/gcc-3.2/changes.html
> Note: all fixes added to 3.2.3...
>
> What kind of problem do you get?
> Error report at compilation? Compiler internal error?

KDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( )
{
 return extension<KDevAppFrontend>("KDevelop/AppFrontend");
}

Gives this error:

debuggerpart.cpp: In member function `KDevAppFrontend*
   RDBDebugger::RubyDebuggerPart::appFrontend()':
debuggerpart.cpp:739: parse error before `>' token
make: *** [debuggerpart.lo] Error 1

Yes this similar code from cppnewclassdlg.cpp compiles fine:

  if (dlg.gen_config->reformat_box->isChecked())
  {
    KDevSourceFormatter *fmt = 
dlg.m_part->extension<KDevSourceFormatter>("KDevelop/SourceFormatter");
    if (fmt)
        classIntf = fmt->formatSource(classIntf);
  }

I've never had any problems like this before with gcc 3.2.2 though.

-- Richard




More information about the KDevelop-devel mailing list