Bug 255907

Summary: Generator doesn't recognize implementations of classes in namespaces that have forward declarations
Product: [Unmaintained] bindings Reporter: Chris Burel <chrisburel>
Component: generalAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: christoph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Burel 2010-11-02 19:51:04 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The generator can parse the following code:

namespace Geometry {
    class CRectangle;
class CRectangle {
    int width, height;
  public:
    CRectangle (int,int);
    int area () {return (width*height);}
};
}

But fails to correctly identify the Geometry::CRectangle class in the following code:
namespace Geometry {
    class CRectangle;
}
class Geometry::CRectangle {
    int width, height;
  public:
    CRectangle (int,int);
    int area () {return (width*height);}
};


Reproducible: Always
Comment 1 Justin Zobel 2021-03-09 05:24:40 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Christoph Cullmann 2024-05-06 18:11:46 UTC
The bindings we had are no longer maintained and got removed with either KF5 or KF6, depending on the language.