Bug?
Achim Spangler
spangler at tec.agrar.tu-muenchen.de
Thu Jan 20 08:10:30 GMT 2000
Benoit Cerrina schrieb:
>
> Hi,
> this is not the normal behavior, you should check the validity of your kdevprj
> file, look for the type entry in the section with your cpp file.
> What your telling us about sounds like the cpp file was incorrectly parsed
> in which case the class parser doesn't know anything of the function definition
> (that's what is in the source file the header has a declaration) and it will
> jump to the definition.
> This could be either because the parser couldn't parse your file (wonder why)
> or more probably you have a corrupted kdevprj (project) file.
As I reported some time ago kdevelop has problems to parse operator
functions as class-member (f.e. bool Foo::operator==(Foo& src) ).
The problems affect all operator functions I tried till now: ==, !=, <<,
>>, !, =, <=, >=
In all these cases kdevelop/classparser finds only the declaration in
the header, but doesn't find the implementation in the sourcefile.
By the way:
If I create a member function with a default parameter value, the class
tool inserts the default parameter in the implementation too. My g++
complains everytime about redefenition of the default value.
Achim
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=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