alkresin пишет:
цитата: |
я выложил недавно исходники dbc |
|
Александр здравствуйте!
Попробовал скомпилировать dbc с Harbour 3.2.0dev (Rev. 18526) и получил следующее
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CARR_INIT':
C:/prg_hrb/dbc/procs_c.c:7:4: error: unknown type name 'LONG'
C:/prg_hrb/dbc/procs_c.c:7:20: error: 'LONG' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:7:20: note: each undeclared identifier is reported only once for each function it appears in
C:/prg_hrb/dbc/procs_c.c:7:25: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c:8:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:9:11: error: 'pul' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:17:20: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c:19:7: warning: implicit declaration of function 'ISBYREF' [-Wimplicit-function-declaration]
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CARR_PUT':
C:/prg_hrb/dbc/procs_c.c:28:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:28:41: error: 'LONG' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:29:11: error: 'pul' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:29:23: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c:30:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:41:14: error: 'pul1' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:42:20: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CARR_DEL':
C:/prg_hrb/dbc/procs_c.c:53:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:53:41: error: 'LONG' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:54:11: error: 'pul' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:54:23: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c:55:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CARR_GET':
C:/prg_hrb/dbc/procs_c.c:65:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:65:41: error: 'LONG' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:66:11: error: 'pul' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:66:23: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c:67:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CARR_COUNT':
C:/prg_hrb/dbc/procs_c.c:77:4: error: unknown type name 'LONG'
C:/prg_hrb/dbc/procs_c.c:77:18: error: 'LONG' undeclared (first use in this function)
C:/prg_hrb/dbc/procs_c.c:77:23: error: expected expression before ')' token
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CLONG_SET':
C:/prg_hrb/dbc/procs_c.c:104:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:115:4: warning: pointer targets in passing argument 1 of 'hb_retclen_buffer' differ in signedness [-Wpointer-sign]
In file included from C:/prg_hrb/dbc/procs_c.c:2:0:
c:/dev/harbour/include/hbapi.h:685:25: note: expected 'char *' but argument is of type 'unsigned char *'
C:/prg_hrb/dbc/procs_c.c: In function 'HB_FUN_CLONG_RESET':
C:/prg_hrb/dbc/procs_c.c:121:4: error: unknown type name 'ULONG'
C:/prg_hrb/dbc/procs_c.c:132:4: warning: pointer targets in passing argument 1 of 'hb_retclen_buffer' differ in signedness [-Wpointer-sign]
In file included from C:/prg_hrb/dbc/procs_c.c:2:0:
c:/dev/harbour/include/hbapi.h:685:25: note: expected 'char *' but argument is of type 'unsigned char *'
hbmk2: Error: Running C/C++ compiler. 1
Собирал с помощью файла hbp для hbmk2
#begin of dbc.hbp
-IC:\dev\harbour\contrib\xhb\
dbc
move
lang
modistru
commands
view
query
pechdbc
prcmenu
errorsys
procs1
procs3
procs5
procs7
procs8
procared
procini
procscri
procs_c.c
#end of dbc.hbp