Error in expanding dollar signs the kdevelop projectfile - Bugfix provided in mail body

Martin Pahl pahl at tnt.uni-hannover.de
Wed Nov 21 09:22:23 GMT 2001


There is a problem in kdevelop concerning the administration of dollar signs.
Sometime all dollar signs are lost in the project file, sometimes there are 
single dollar signs, and sometimes they are doubled.

Looking to the source code the problems seems to be in cproject.cpp. The 
source code assumes that dollar expansion defaults to true in KSimpleConfig. 
That's not the case. Dollar expansion defaults to false as it is documented 
in kdecore documentation.

So the solution ist to add

  config->setDollarExpansion(true); //!MP  2001/11/21

after the creation of the KSimpleConfig with:

  config = new KSimpleConfig(prjfile);

There are two places where this must be added in cproject.cpp. After that 
dollar expansion seems to work fine. But you should inspect all your kdevelop 
project files and replace "=$(" and "=(" with "=$$(".

Kind regards,

Martin Pahl

-- 
Martin Pahl                                email: pahl at tnt.uni-hannover.de  

Institut fuer Theoretische Nachrichtentechnik und Informationsverarbeitung
Universitaet Hannover                 http://www.tnt.uni-hannover.de/~pahl

-
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