Page 1 of 1

One for the to-do list compare _1 and _2

Posted: Fri Aug 21 2020 7:17 pm
by seasoned_geek
Had a cut & paste boo boo that pointed this out :o

Code: Select all

    CS_SIGNAL_1( Public, void edtCopy() )
    CS_SIGNAL_2( edtCut )
That isn't caught at compile time, it hangs at run time and even the error message was a bit odd, or my brain just wasn't using all cylinders.

Code: Select all

DiamondTextEdit::edtCut Unable to register method pointer, verify signal/slot
When it comes to the never ending to-do list, it would be nice if there could be some kind of compile/build time verification that the name in the _1 macro and _2 macro match.