Maybe an easy question...

Tarjei Knapstad tarjeik at chemcon.no
Wed Jun 5 19:38:39 BST 2002


On Wed, 2002-06-05 at 19:21, August Hörandl wrote:
> On Wednesday 05 June 2002 12:48, you wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > > const char* VersionString() {
> > > 	return "Release 3.0 - " VERSION;
> > > }
> >
> > Uhhh... What is VERSION? Another string? Don't you have to
> > concatinate the two strings (I assume that's what you want to do)
> > explicitely?
> >
> > i.e. return  "Release 3.0 -" + VERSION;
> 
> this is plain old c: multiple strings constants are "autoconcatinated"
> 
> i think that VERSION is not defined or is defined to something
> that is no string constant
> 
(possible misfire, did not read OP)

If you're looking for the version info you set in KDevelop, it's
#defined in config.h in the base project dir. #include "config.h" if
that's what you're after.

If not, don't mind my rambling :)

-- 
Tarjei Knapstad



-
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