Bug#2972: marked as done (Clicking on error messages not working with the Compile file command)

Stephan Kulow owner at bugs.kde.org
Sun Apr 9 01:48:00 UTC 2000

Your message dated Sun, 09 Apr 2000 03:34:11 +0200
with message-id <38EFDE13.5658463F at e-technik.fh-muenchen.de>
and subject line Bug#2972: Clicking on error messages not working with the Compile   file command
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 8 Apr 2100 14:11:29 +0000
From duke at tipitina.demon.co.uk Sat Apr  8 16:11:29 2000
Received: from tipitina.demon.co.uk ([]:26372 "EHLO
        tipitina.demon.co.uk") by max.tat.physik.uni-tuebingen.de with ESMTP
        id <S741425AbQDHOLK>; Sat, 8 Apr 2000 16:11:10 +0200
Received: (from duke at localhost)
        by tipitina.demon.co.uk (8.9.3/8.9.3) id PAA12054;
        Sat, 8 Apr 2000 15:08:33 -0400
Date:   Sat, 8 Apr 2000 15:08:33 -0400
Message-Id: <200004081908.PAA12054 at tipitina.demon.co.uk>
FROM:   Richard Dale <Richard_Dale at tipitina.demon.co.uk>
TO:     submit at bugs.kde.org
SUBJECT: Clicking on error messages not working with the Compile file command
Return-Path: <duke at tipitina.demon.co.uk>
X-Orcpt: rfc822;submit at bugs.kde.org

Package: kdevelop
Version: 1.1
Severity: normal

Bugreport ID : 14:59,08.04.00

Originator	: Richard Dale
E-Mail		: Richard_Dale at tipitina.demon.co.uk

Subject : Clicking on error messages not working with the Compile file command

Error Class	: software bug
Error Location	: I don´t know
Priority	: low
Bug Description ---------------------------

When the 'Compile file' command is used to compile a single file in a KDevelop
sub-directory and the compilation has errors. Then, cicking on error messages fails to 
find the line in the source file with the error.

How to repeat the error -------------------

Compile a single file with errors, and click on the error text

Bugfix or Workaround ----------------------

I've added this line to the method CKDevelop::slotBuildCompileFile() in
ckdevelop.cpp. It fakes a ': Entering directory' message (this is normally
output by make when the 'Build' project command is used). The 'Entering'
message gives to error message parser enough context to find to source

diff -Naur -X /home/duke/bin/patcher.exclude kdevelop-1.1/kdevelop/ckdevelop.cpp kdevelop-1.1objc/kdevelop/ckdevelop.cpp
--- kdevelop-1.1/kdevelop/ckdevelop.cpp	Fri Feb 25 17:40:43 2000
+++ kdevelop-1.1objc/kdevelop/ckdevelop.cpp	Sat Apr  8 14:50:12 2000
@@ -806,7 +806,8 @@
   QFileInfo fileinfo(cpp_widget->getName());
+  process << "echo " << make_cmd + "[1]: Entering directory \\`" + fileinfo.dirPath() + "\\';\n";
   // get the filename of the implementation file to compile and change extension for make
   //KDEBUG1(KDEBUG_INFO,CKDEVELOP,"ObjectFile= %s",QString(fileinfo.baseName()+".o").data());
 //  cerr << "ObjectFile= " << fileinfo.baseName()+".o";

System Information ------------------------

KDevelop version	: 1.1
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: LinuxPPC
Compiler		: gcc

misc :

More information about the KDevelop-devel mailing list