Bug#1939: Single file compile problems [19:53,13.09.99]

Trevor Maydaniuk trevor at cr520757-a.poco1.bc.wave.home.com
Tue Sep 14 03:07:49 UTC 1999


Package: kdevelop
Version: 1.0beta2
Severity: normal

Bugreport ID : 19:53,13.09.99

Originator	: Trevor Maydaniuk
E-Mail	: trevor at nospam_echarge.com

Subject : Single file compile problems

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

When compiling a single file (build->compile) the following 
problems occur.   1) the shortcut key CTRL-F8 does not work.
2) if the files are not in the root project src directory 
(eg ~/sandbox/projectname/projectname) if there are any
compilation errors, clicking on the error will cause a dialog to
appear that says "file: ~/sandbox/project/project/filename.cpp" does
not exist.  3)  editing a .h file does not allow you to recompile,
you need to edit the .cpp file or else the "compile" option
does not appear.

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

For each issue:
1) Attempt the CTRL-F8 shortcut key
2) Create a file in a subdirectory, in my case I have a project
called btsrv.  The source files therefore are placed in 
btsrv/btsrv.  Create a file in a sub-dir, 
eg btsrv/btsrv/framework/myfile.cpp.  Create a corresponding
.h file as well.   Make sure there are typos in either file. 
When gcc complains, click on the error in the messages 
window.  The "file ... does not exist" dialog should appear.
3) using the same files as in issue 2, correct them so they
compile.  then modify the .h file and attempt a recompile,
the .h file is not automatically saved so the system does
not recognise that it has changed.

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

not a bug fix, but a comment;

kdevelop is a very impressive product.  having used 
Borland, and MSVC at work I can say that it is very close
to coming to their level of functionality.  Good work!

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

KDevelop version	: 1.0beta2
KDE version		: 1.1.1
QT version		: 
OS/Distribution	: :Linux Mandrake 6.0
Compiler		: gcc/glibc




More information about the KDevelop-devel mailing list