[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 147718] New: Jump to Error Fails after Makefile leaves a
From:       Martin Fuhrer <mfuhrer () alumni ! ucalgary ! ca>
Date:       2007-07-09 18:59:25
Message-ID: 20070709205924.147718.mfuhrer () alumni ! ucalgary ! ca
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147718         
           Summary: Jump to Error Fails after Makefile leaves a subdirectory
                    in a Custom Buildsystem Project
           Product: kdevelop
           Version: 3.4.1
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: mfuhrer alumni ucalgary ca


Version:           3.4.1 (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) 
OS:                Linux

I have a several custom buildsystem projects containing several source files in the \
project root directory as well as subdirectories.  The main makefile descends into \
the subdirectories one by one, where other makefiles are called to compile the \
sources therein.  If a source file contains an error, the error appears in KDevelop's \
messages pane and I can click the error line to jump directly to the error in the \
source file.  Once sources in the subdirectories are compiled, the main makefile \
leaves the last subdirectory and compiles sources in the project root directory.  If \
an error is encountered at this point, clicking on the error in the messages pane \
will NOT jump to the error in the source file.

I have traced the bug as far as:
QString MakeWidget::guessFileName( const QString& fName, int parag ) const

in the file makewidget.cpp.  On line 455, 
QString dir = directory( parag );

dir always ends up with the path to the last subdirectory, even after the makefile \
has left this subdirectory to compile the sources in the project root directory.

I have prepared a sample project that demonstrates the error.  I will try to add it \
as an attachment shortly (it appears I cannot add attachments from the bug entry \
form).

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic