Maybe an easy question...

Rosella Greco greco at ccrle.nec.de
Wed Jun 5 13:38:15 BST 2002


Sven Bergner wrote:
> 
> On Wed, 5 Jun 2002, Rosella Greco wrote:
> 
> > thanks for your help Thomas,
> >  I created a new project and then I imported all the source files. it
> > seems to be working except for this error:
> >
> > VersionString.cxx: In function `const char * VersionString()':
> > VersionString.cxx:2: parse error before `;'
> > VersionString.cxx:3: warning: control reaches end of non-void function
> > `VersionString()'
> > gmake[1]: Leaving directory `/home/rgreco/tentativo'
> > gmake[2]: *** [VersionString.o] Error 1
> > gmake[1]: *** [all-recursive] Error 1
> > gmake: *** [all] Error 2
> >
> It seems that your function has no return statement.
> 
> Greetings,
>   Sven

It has return statement, 
the function is very simple:

const char* VersionString() {
	return "Release 3.0 - " VERSION;
}

Any suggestions?
Thanks a lot!
Rosella

-
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