[Kde-bindings] [Bug 255907] New: Generator doesn't recognize implementations of classes in namespaces that have forward declarations

Chris Burel chrisburel at gmail.com
Tue Nov 2 18:51:05 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=255907

           Summary: Generator doesn't recognize implementations of classes
                    in namespaces that have forward declarations
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: chrisburel at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list