estoy pasando mis fuentes de 3ros a Harbour
Al hacerlo para TSbutton, obtengo siguiente error:
- d:\Mi Harbour\Tsbutton7>bmakeH lib_fwh32
source\TSButton.prg(95) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(123) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(349) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(529) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(675) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(855) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(966) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(983) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(996) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1279) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1319) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1372) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1390) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1462) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1505) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1871) Warning W0001 Ambiguous reference 'SUPER'
source\TSButton.prg(1889) Warning W0001 Ambiguous reference 'SUPER'
Cual es mi error?; no creo que no se pueda incluir la llamada Super:ClasePadre()
Mi archivo de compilación es el siguiente:
- Code: Select all Expand view RUN
- # Directorios Principales ####################################################
FIVEWIN_DIR = \Harbour\fwh
HARBOUR_DIR = \Harbour
BORLANDC_DIR = \bcc582
# Make directives ############################################################
.swap
.suffixes: .prg
# Application directories & filenames ########################################
LIB_NAME = TSBtn70 # (Your LIB name without extension)
LIB_PRG_DIR = source # .
LIB_OBJ_DIR = obj # (create the app\obj directory first)
LIB_INCLUDE_DIR = include # .
LIB_LIB_DIR = lib # $(LIB_PRG_DIR)
LIB_LIB = $(LIB_LIB_DIR)\$(LIB_NAME).lib
# Paths for dependent files ##################################################
.path.c = $(LIB_PRG_DIR)
.path.prg = $(LIB_PRG_DIR)
.path.obj = $(LIB_OBJ_DIR)
# Application PRG and C files (your PRG/C files go here) #####################
LIB_PRG_LIST = \
TSButton.prg \
TSBar.prg \
TSLines.prg \
TSRadio.prg \
TSTSay.prg \
TSGradie.prg \
BPaint.c
# Contruction of the rest dependency lists ###################################
LIB_PRGS = $(LIB_PRG_LIST)
TMP_001 = $(LIB_PRG_LIST:.prg=.obj)
LIB_OBJ = $(TMP_001:.c=.obj)
LIB_TMP0 = OBJ\$(LIB_OBJ:.obj=.obj +OBJ\)
LIB_TMP1 = $(LIB_TMP0: =)
LIB_TMP2 = $(LIB_TMP1:.obj=.obj )_
LIB_TMP3 = +$(LIB_TMP2:+OBJ\_=)
# Fivewin directories ########################################################
FIVEWIN_INCLUDE_DIR = $(FIVEWIN_DIR)\include
# Harbour directories & flags ################################################
HARBOUR_INCLUDE_DIR = $(HARBOUR_DIR)\include
HARBOUR_EXE_DIR = $(HARBOUR_DIR)\bin
HARBOUR_FLAGS = -i$(LIB_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0
HARBOUR_EXE = $(HARBOUR_EXE_DIR)\harbour.exe
# Borlanc directories & flags ################################################
BORLANDC_INCLUDE_DIR = $(BORLANDC_DIR)\include;$(FIVEWIN_INCLUDE_DIR)
BORLANDC_EXE_DIR = $(BORLANDC_DIR)\bin
BORLANDC_LIB_DIR = $(BORLANDC_DIR)\lib
BORLANDC_COMP_FLAGS = -M -D__HARBOUR__ -c -O2 -I$(HARBOUR_INCLUDE_DIR);$(BORLANDC_INCLUDE_DIR) -D__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF
BORLANDC_COMP_EXE = $(BORLANDC_EXE_DIR)\bcc32.exe
BORLANDC_TLIB_EXE = $(BORLANDC_EXE_DIR)\tlib.exe
# Dependencies ###############################################################
all: $(LIB_OBJ) $(LIB_PRGS) $(LIB_LIB)
# Implicit Rules #############################################################
.prg.obj:
@$(HARBOUR_EXE) $(HARBOUR_FLAGS) $** -o$(LIB_OBJ_DIR)\temp.c
@$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $(LIB_OBJ_DIR)\temp.c
@if exist $(LIB_OBJ_DIR)\temp.c $(DEL) $(LIB_OBJ_DIR)\temp.c
.c.obj:
@$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $**
# Explicit Rules #############################################################
$(LIB_LIB) :: $(LIB_OBJ)
@if exist $(LIB_LIB) $(DEL) $(LIB_LIB)
@$(BORLANDC_TLIB_EXE) $(LIB_LIB) /P32 $(LIB_TMP3)