Bug#2414: Class View bugs

Pétur Runólfsson petur_r at usa.net
Sun Dec 12 15:51:57 UTC 1999


Package: kdevelop
Version: 1.0
Severity: normal

Bugreport ID : 14:22,10.12.99

Originator	: Pétur Runólfsson
E-Mail		: petur_r at usa.net

Subject : Class View bugs

Error Class	: software bug
Error Location	: class tree
Priority	: medium
Bug Description ---------------------------

Class View behaves in a somewhat non-predictable way on some
input:

* Function members of structs are shown as global functions and
are not listed at all in the branch below the structs name

* If a nested class or struct is defined within the parent, it does not
appear at all, however if it is defined outside the parent, it is listed
as a global.

* If more than one class or struct have the same name, but are in
different scopes, Class View will display the correct number of
structs, but when expanded, the branches all list the members of
one of the structs.

* When operators are overloaded for templates and defined outside
the class, they show up in the list of global functions.

* When an overloaded operator for a template is declared as a
friend, as in

template<typename T> class C {
          friend operator< <T>(const C<T>&, const C<T>&);
};

the Class View displays operator <<T> among C's members.

* If a namespace is spread across several source files, clicking on
it's name will open one of them, but getting at the rest is not possible.

* enums don't appear at all.

* Clicking on a function's name may or may not take the cursor
to it's definition. It is almost certain to fail for constructors
with initializer lists.

* If class members' declarations contain exception specifications,
the Class View will only display those members of that class that
are declared before the first exception specification in the class.

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



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



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

KDevelop version	: 1.0
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: Linux - kernel 2.2.13, glibc 2.1.1
Compiler		: egcs-2.91.66

misc :

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




More information about the KDevelop-devel mailing list