[clazy] [Bug 375748] New: connect-non-signal: Internal error in connect to functor

Daniel Pfeifer bugzilla_noreply at kde.org
Mon Jan 30 12:31:19 GMT 2017


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

            Bug ID: 375748
           Summary: connect-non-signal: Internal error in connect to
                    functor
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: daniel at pfeifer-mail.de
                CC: smartins at kde.org
  Target Milestone: ---

The following code reproduces the error:

class Foo: public QObject { Q_OBJECT
public:
    Foo() { connect(this, &Foo::bar, []{}); }
Q_SIGNALS:
    void bar();
};

The output is:

[-Wclazy-connect-non-signal]: internal error: couldn't find method from pmf
connect at /usr/include/qt/QtCore/qobject.h:293:5

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list