[Comm] KDevelop problems

Alex Levkovich =?iso-8859-1?q?alevkovich_=CE=C1_tut=2Eby?=
Ср Июн 25 10:16:49 MSD 2003


>> Решение было. Поищите в архивах рассылки за май июнь
>> или на форуме kdevelop.org
>> Eugene Azarkin

Спасибо за совет. Действительно, нашел решение на kdevelop.org.

PS:

Для тех, кто много попусту рассуждал -- я не обращался к спецам по KDevelop, просто те кто его использует, должны были столкнуться с этой проблемой, и решить ее, иначе они бы отказались от KDevelop.
 
///////////////////////////////////////////////////////////////////////////////////

Kdevelop-2.1.x has this problem due to a

bad macro definition. I have a patch from

the macro's author, as well as an already

patched file: admin.tar.gz

Here is the patch:

Index: acinclude.m4.in

===================================================================

RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v

retrieving revision 2.302

diff -u -p -r2.302 acinclude.m4.in

--- acinclude.m4.in 2002/11/14 09:58:34 2.302

+++ acinclude.m4.in 2002/11/20 14:00:46

@@ -4824,7 +4825,7 @@ m4_define([mm_car], [[$1]])

m4_define([mm_car2], [[$@]])

m4_define([_mm_foreach],

[m4_if(m4_quote($2), [], [],

- [m4_define([$1], [mm_car($2)])$3[]_mm_foreach([$1],

+ [m4_define([$1], mm_car($2))$3[]_mm_foreach([$1],

mm_car2(m4_shift($2)),

[$3])])])

m4_define([AC_FOREACH],

=========================================

In fact the patch is deformed from the

word wrap but esential is to remove the

"[" and "]" surrounding "mm_car($2)" in

the acinclude.m4.in file.

A copy of it exists in the admin directory

of your project, so if you correct it,

your project will compile, but new projects

will still fail compiling.

Hope that helps.

/////////////////////////////////////////////////////////////////////////





Подробная информация о списке рассылки community