code completion problem && some generic questions

Bernd Schubert bernd-schubert at gmx.de
Thu Mar 9 00:00:15 UTC 2006


Hi,

since kdevelop-3.3.0 using the code completion has a problem. Everytime it 
tries to do the code completion, kdevelop gets stuck somewhere in the code 
completition functions. 
I would like to improve my C++ knowledge and so would like to fix this myself. 
So some questions:

1.) Even though I compiled with --debug=full gdb traces don't show any line 
numbers. I'm usually programming in C and never had this problem before. 
Anyone knows the reason?

2.) Even though compiled with --debug=full, -O2 is still used. Where can I 
disable -O2 or set -O0. Is this related to Q1?

3.) For my C project I so far used custom Makefiles, so I'm neither much 
experienced in autotools nor in cmake. Though I want to to convert my own 
project to cmake and therefore have slightly better knowledge for that than 
for autotools (but by far not so well as for custom makefiles). Since 
kdevelop supports cmake builds, I wanted to try that. The CMakeLists.txt:23 
of kdevelop-3.3.1 requests a subdirectory bdb, but since its not there the 
cmake build fails.
In parts/filelist/CMakeLists.txt there's also a request for filelist_part.cpp 
which is not in the sources at all - another cmake build problem.

For now I have removed those entries and the build process is running now.

4.)Cmake builds also have the -O2 problem, even though I replaced every -O2 by 
-O0 in 'cmake -i -', it still uses -O2. Well actually it then calls -O0 and 
-O2 at once.



Thanks,
	Bernd 

-- 
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg





More information about the KDevelop-devel mailing list