Page 1 of 1

TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

Posted: Wed Aug 26, 2020 12:43 am
by noe aburto
Una molestia más:

Al crear la lib tsbrowse, me carca error con Harbour 3.2, y con la version Harbour 3.0 no lo hace

TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

la linea es:

METHOD BeginPaint() INLINE If( ::lRepaint, Super:BeginPaint(), 0 )

Ayuda.

Re: TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

Posted: Wed Aug 26, 2020 12:48 am
by noe aburto
En los include esta asi:

#include "Fivewin.ch"
#include "TSBrowse.ch"

#ifdef __XPP__
#define Super ::TControl
#define New _New
#xtranslate _DbSkipper => DbSkipper
#EndIf

#ifdef __HARBOUR__
#xtranslate _DbSkipper => DbSkipper
#ifdef __HBOLE__
#define __OLE__
#EndIf
EXTERN OrdKeyNo, OrdKeyCount, OrdKeyGoto
#EndIf

Re: TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

Posted: Wed Aug 26, 2020 3:01 am
by nageswaragunupudi
Replace
Super:
with
::Super:

Re: TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

Posted: Wed Aug 26, 2020 4:34 pm
by noe aburto
Gracias.

Con este cambio ya no marco ese Warning.

Re: TsBrowse(320) Warning W0001 Ambiguous reference 'SUPER'

Posted: Wed Aug 26, 2020 5:10 pm
by carlos vargas
revise mail.