Errors compiling WPTools 9 in Delphi7

  • Errors compiling WPTools 9 in Delphi7:

    Code
    [Hint] WPRTEPaint.pas(13122): Value assigned to 'dblbuffer' never used
    [Hint] WPObj_IMAGE.pas(1690): Variable 'ameta' is declared but never used in 'TWPOCustomImage.Paint'
    [Hint] WPObj_IMAGE.pas(1691): Variable 'ametacan' is declared but never used in 'TWPOCustomImage.Paint'
    [Warning] WPIO.pas(50): *** (Info) Reader and writer classes have been included using unit "WPIO"
    [Hint] WPRTEFormatBase.pas(204): Value assigned to 'tw' never used
    [Error] WPCTRMemo.pas(11586): Undeclared identifier: 'ssTouch'
    [Error] WPCTRMemo.pas(12158): Undeclared identifier: 'ssTouch'
    [Error] WPCTRMemo.pas(12452): Undeclared identifier: 'ssTouch'
    [Fatal Error] WPUtil.pas(74): Could not compile used unit 'WPCTRMemo.pas'

    the other references to "Touch" are inside {$IFDEF DELPHI_TOUCH} blocks.

    Should these lines be inside similar switches, or at least {$IFDEF DELPHIXE} +?

    I do have the {$DEFINE WPPDFEX} on in WPINC.INC , if it's related at all.

    Thanks!

    • Offizieller Beitrag

    Sorry, those compares with ssTouch have been added in last upload. They will be removed for Delphi 7 and other older versions.

    BTW: Hints like "Value assigned to '...' never used" are often caused by code to avoid hints "Variable has not been assigned".