make message parsing "bug"

Mahnu Promayon Emmanuel.Promayon at
Fri Apr 27 09:46:15 UTC 2001

Hi dear developper of kdevelop.

Your application is great and definitely THE tool to develop under linux (or 
unix as I am using it as well under tru64).

I found a bug, that is annoying but that can easily be fixed (I will post 
something in the forum to tell people about it).

The problem was that when a compilation error was detected, and when I ask to 
view the next error (by pressing F4 or pressing the mouse button on the error 
line), kdevelop told me that the file was not found.
In fact, it did not look at the right place.
Let say I got a bug in the project alp, file main.c
(which is stored in directory ~/myproj/myproj/main.c)
kdevelop was looking at the file ~/myproj/main.c, which was not the place to 
look for the file. I did not know what to do about that, tryed to reinstalled 
from the source, many times, with many different version, and it was the same 
thing everytime.
I posted something in the forum (and saw there was other people with the same 
problem), so I was wandering if I did not have to fix that bug my self.

I track the bug in the source and I saw that there was a make message parser 
(in  CErrorMessageParser::parseInMakeMode method).

And then I realised that the messages from the gmake command where in french 
(as I installed the french locale) and so that instead of having the string
make[2]: Entering directory `/home/promayon/myproj/myproj' 
I got the message :
make[2]: Entre dans le répertoire `/home/promayon/myproj/myproj'

which is the translation in french.

So the "bug" is that kdevelop does not understand french (or any other than 
english) locale.

The current fix is to remove the file :
(change fr to de or any other language abbreviation)

Then the make messages are in english and kdevelop can parse them properly.

I don't know if this is something difficult to fix or not. (if it is, then 
just add some comments somewhere, or may be tell explicity people about that 

Thanks again for the very very good tool,

PS: if you need more information or did not understand my english, I will be 
glad to answer your questions if it can help!
Emmanuel.Promayon at
Laboratoire TIMC-IMAG-CNRS UMR 5525, Université Joseph Fourier
Faculté de Médecine, Domaine de la Merci, 38706 La Tronche cedex, France
Tel: +33/0 476 54 95 98 - Fax: +33/0 476 54 95 55

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list