Problems with API generation for Terminal application + Question about namespaces and classparser

Achim Spangler spangler at tec.agrar.tu-muenchen.de
Tue Feb 29 17:55:40 GMT 2000


Hi all,
I just installed the new kdk-1.1 and used the newest snapshot of
kdevelop (28.2.2000).

PROBLEM: 
I can't update the API of a C++ terminal application anymore. 
Is this a feature or a bug?!?
If I try to build the API, I get the following:
------
Can't read from LBS_Library 0 at /usr/local/bin/kdoc line 220
	main::parseFiles() called at /usr/local/bin/kdoc line 161
*** Fehler ***
-----
This output is equivalent on a existant project (where old kdoc built
API correctly) 
and on new created application (with wizard).
Do I have to configure something correctly, or is this a bug???

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
QUESTION:
How are namespaces handled in the actual kdevelop version.
Can I do the following:
a) define namespaces in header namespaces.h, where I only declare the
classes:
--------
namespaces.h:
namespace FOO
{
	class Foo1;
	class Foo2;
}
---------

b) define the classes in different headers like:
---------
foo1.h:
#include <namespaces.h>
class Foo1
{
	Foo1();
	method();
	//...
}
---------
foo1.cc:
#include "foo1.h"
Foo1::Foo1()
// or must it be written like: FOO::Foo1:Foo1() ???
{
//...
}
Foo1::method()
// or must it be written like: FOO::Foo1:method() ???
{
//...
}
--------

Is this legal to C++?
Can kdevelop (classparser) handle this -> put Foo1 with its methods etc
in the namespace FOO?


Greetings,
Achim

P.S.:
OFF TOPIC
Does anybody know an embedded Linux version which run on a 16Bit
microprocessor, 
maybe with CAN-controller?
-> Answers please direct to my email address
- it's important for a soon to be published Open Source project handling 
  with CAN communication between jobcontrollers with small
microprocessors 
  (mostly 16Bit) - closer information will follow on webiste mentioned
below
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IKB-Duernast-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dipl.-Inform. Achim Spangler                TUM Freising-Weihenstephan
Tel.:  +49-8161-71 3565                     Institut fuer Landtechnik
Fax.:  +49-8161-71 3895                     Am Staudengarten 2
Email: spangler at tec.agrar.tu-muenchen.de    85350 Freising
URL:   http://ikb.weihenstephan.de/deu/members/persons/spangler.html
       http://ikb.weihenstephan.de/en/members/persons/spangler.html
=-=-=-=-=-=-=-=-=-=-=-Agricultural BUS System (LBS)-=-=-=-=-=-=-=-=-=-=-




More information about the KDevelop mailing list