class parser: bug or feature request (only prototypes are shown?)

Daniel Franke daniel.franke at imbs.uni-luebeck.de
Wed Dec 17 13:18:06 UTC 2003


Hi all.

There's something odd with the class parser. It might be a bug - or a 
feature?!

Assume a project:
	project.cpp
	project.h

The main()-function appears in the class parser. Fine.
Add another funtion to project.cpp, e.g.

void do_something(void) {
	// .... 
}

The function 'do_something()' isn't shown in the class parser - until 

	void do_something(void);

is added _somewhere_. It doesn't matter if either added to the .cpp or the 
.h, the result's the same: it will be shown in the class-tool.

My question: 
	Why does main show up - without prototype?
or, the other way:
	Why doesn't do_something() show up - without prototype?

Thanks!

	Daniel


-- 
Dipl.-Math. (FH) Daniel Franke
Institut fuer Medizinische Biometrie und Statistik
Medizinische Universität zu Luebeck
Ratzeburger Allee 160, Haus 4
23538 Luebeck
Telefon: 0451-500-2786
Telefax: 0451-500-2999
daniel.franke at imbs.uni-luebeck.de





More information about the KDevelop-devel mailing list