Menu

#103 Improve error message for event handler mismatch

6.44
closed
None
1
2021-02-02
2016-10-06
No

In OWLNext 6.40, with the introduction of the new implementation of Windows message dispatch, the error message given by the Microsoft and Clang-based Embarcadero compilers on an event handler signature mismatch got noticably worse. The error messages for these compilers are now non-specific and does not tell the user the correct signature, and may not even indicate the particular table entry at fault, instead pointing to the table as a whole. In particular, this makes migration from earlier versions difficult, since many event handler signatures changed in 6.40.

Proposed solution: Reintroduce explicit signature checks that provide better error messages on signature mismatch. This solution has already been implemented for Owlet [r3545].

See also: [news:2017/01/more-helpful-error-messages-for-event-handler-signature-mismatch].

Related

Commit: [r3545]
Discussion: Experimenting OWL6.30 to OWL6.42
Discussion: OWLNext 6.44 Beta and work on OCFNext
News: 2017/01/more-helpful-error-messages-for-event-handler-signature-mismatch
Wiki: OWLNext_Stable_Releases
Wiki: Windows_Message_Dispatch_in_OWLNext

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2017-01-15

    This request was implemented on the trunk in [r3630], based on the changes in Owlet [r3545], and the implementation was merged into 6.44 in [r3633].

     

    Related

    Commit: [r3545]
    Commit: [r3630]
    Commit: [r3633]

  • Vidar Hasfjord

    Vidar Hasfjord - 2017-01-15
    • status: open --> pending
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2018-03-15
    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel