Bug fix for make command-line problem

Carlos Valiente valiente at ctv.es
Tue Jun 1 23:01:28 BST 1999


>'make' command-line options
>---------------------------
> After having created a new project, I select the "Continue after errors"
>from the "Project/Options"Make options" tab dialog. The 'configure' script is
>called and its related files are correctly generated. But when I hit F9 to
>build the project, I get the following error message:

>make: option requires an argument --- W
>Usage: make [options] [target] ...

I have found a solution that works for me now: in file cprjoptionsdlg.cpp, line
1479, the following code fragment:

	QString *str = (QString *) m_set_modify_line->text()

shoulf be replaced with something like:
	
	QString *str = new QString(m_set_modify_line->text());

(adding the corresponfig 'delete str;' at the end of the if-loop, of course).
	

--
Carlos Valiente

<valiente at ctv.es>



More information about the KDevelop mailing list