bug: class view - strange startup

August Hörandl august.hoerandl at gmx.at
Tue Mar 26 20:30:08 UTC 2002


August Hörandl wrote:
> 
> kdevelop 2.1 from cvs (KDE_2_2_BRANCH), suse 7.3
> 
> how to reproduce (easy way)
> - create a c++ project
> - add a class outer and add an inner class
> 
> class outer {
>   class inner {
>     inner();
>     method();
>   };
> public:
>         outer();
>         ~outer();
> };
> 
> after save and  view/update everything seems okay
> 
> close kdevelop and restart:
> switch to class view and select outer
> inner is shown with a class symbol - but no constructor, no methods
> (see screenshot http://elina.htlw16.ac.at/~hoerandl/dl/innerouter1.png )

another example - two inner classes

class outer2 {
  class inner1 {
     inner1();
     int i1;
  };
  class inner2 {
    inner2();
    int i2;
  };
  outer2();
  int o2;
};


- i get only empty classes in the class view
- it comes in different flavours:
   struct inner1, class inner2    --- very strange classview
   class inner1, struct inner2   

stay tuned for tomorrows example with 3 classes and "deep nesting" 
(nested class inside inner class)

--> there is a big problem with nested classes ;-)

Gustl

-- 
August Hörandl                        august.hoerandl at gmx.at
Mr. Cole's Axiom:  The sum of the intelligence on the planet
                    is a constant; the population is growing.




More information about the KDevelop-devel mailing list