Menu

#377 WM_NCMOUSEHOVER undeclared: bug or compiler incompatibility.

unspecified
wont-fix
nobody
Build (56)
1
2018-05-04
2017-03-28
Julian
No

Hello!
I compared the recent Embarcadero 10.2 Starter edition to our old XE2 Professional and considered "upgrading", since starter is even free...

I was able to compile everything in "old compiler mode", but if I enable CLANG, then the bcc32c compiler of 10.2 informs me, that in file dispatch.h 3 makros aren't declared: WM_NCMOUSEHOVER, WM_NCMOUSELEAVE, WM_THEMECHANGE. I compiled the current stable version 6.43 of owlnext.

Error Message: [bcc32c Error] dispatch.h(1842): use of undeclared identifier 'WM_NCMOUSEHOVER'

I noticed, that the list of supported compilers state, that 6.43 is only working with bcc up to 10.1.
However, with CLANG many things in outdated code also had to be fixed (like constant function arguments in response tables).

Is this error caused, because 10.2 is not compatible with 6.43 or because there are errors in a code that uses those three templates defined in dispatch.h?

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2017-03-28

    Hi Julian,

    I noticed, that the list of supported compilers state, that 6.43 is only working with bcc up to 10.1.

    Correct. OWLNext 6.43 does not currently support Embarcadero C++Builder/RAD Studio 10.2. I tested the release with 10.1, so hopefully that should work. For 10.2 support, create a ticket in Feature Requests.

     

    Related

    Wiki: Supported_Compilers

  • Vidar Hasfjord

    Vidar Hasfjord - 2018-05-04
    • status: open --> wont-fix
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2018-05-04

    This issue seems to be related to WINVER setting, as WM_NCMOUSEHOVER is defined in "WinUser.h" provided WINVER >= 0x0500.

    :::C++
    #if(WINVER >= 0x0500)
    #define WM_NCMOUSEHOVER                 0x02A0
    #define WM_NCMOUSELEAVE                 0x02A2
    #endif /* WINVER >= 0x0500 */
    

    Also, note that RAD Studio 10.2 Tokyo, as well as C++Builder 10.2 Tokyo Starter Edition, are now supported by OWLNext 6.44 and 7, and builds should now work fine.

    I have hence closed this ticket as "wont-fix".

     
  • Vidar Hasfjord

    Vidar Hasfjord - 2018-05-04
    • labels: --> Build
     

Log in to post a comment.

MongoDB Logo MongoDB