D:\tdolphin>c:\hb32\bin\hbmk2 tdolphin.hbp -rebuild
hbmk2: Procesando: c:\hb32\contrib\xhb\xhb.hbc
hbmk2: Procesando: c:\hb32\contrib\hbct\hbct.hbc
hbmk2: Procesando: c:\hb32\contrib\hbtip\hbtip.hbc
hbmk2: Procesando: c:\hb32\contrib\hbfship\hbfship.hbc
hbmk2: Procesando: c:\hb32\contrib\hbxpp\hbxpp.hbc
hbmk2: Procesando: c:\hb32\contrib\hbwin\hbwin.hbc
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
In file included from ../../../source/c/function.c:61:0:
../../../include/mysql.h:63:19: error: unknown type name 'SOCKET'
#define my_socket SOCKET
^
../../../include/mysql_com.h:268:3: note: in expansion of macro 'my_socket'
my_socket fd; /* For Perl DBI/dbd */
^~~~~~~~~
../../../include/mysql.h:63:19: error: unknown type name 'SOCKET'
#define my_socket SOCKET
^
../../../include/mysql_com.h:437:16: note: in expansion of macro 'my_socket'
int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen,
^~~~~~~~~
../../../source/c/function.c:77:40: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
const char * SQL2ClipType( long lType, BOOL bLogical );
^~~~
HB_BOOL
../../../source/c/function.c: In function 'HB_FUN_VAL2ESCAPE':
../../../source/c/function.c:255:4: error: unknown type name 'ULONG'; did you mean 'HB_ULONG'?
ULONG iSize, iFromSize ;
^~~~~
HB_ULONG
../../../source/c/function.c:257:4: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
BOOL bResult = FALSE ;
^~~~
HB_BOOL
../../../source/c/function.c:257:19: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
BOOL bResult = FALSE ;
^~~~~
FILE
../../../source/c/function.c:257:19: note: each undeclared identifier is reported only once for each function it appears in
../../../source/c/function.c:268:18: error: 'TRUE' undeclared (first use in this function)
bResult = TRUE ;
^~~~
../../../source/c/function.c:255:17: warning: unused variable 'iFromSize' [-Wunused-variable]
ULONG iSize, iFromSize ;
^~~~~~~~~
../../../source/c/function.c: In function 'HB_FUN_MYSQLESCAPE':
../../../source/c/function.c:290:4: error: unknown type name 'ULONG'; did you mean 'HB_ULONG'?
ULONG iSize, iFromSize ;
^~~~~
HB_ULONG
../../../source/c/function.c:292:4: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
BOOL bResult = FALSE ;
^~~~
HB_BOOL
../../../source/c/function.c:292:19: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
BOOL bResult = FALSE ;
^~~~~
FILE
../../../source/c/function.c:307:21: error: 'TRUE' undeclared (first use in this function)
bResult = TRUE ;
^~~~
../../../source/c/function.c:290:17: warning: unused variable 'iFromSize' [-Wunused-variable]
ULONG iSize, iFromSize ;
^~~~~~~~~
../../../source/c/function.c: In function 'HB_FUN_MYSEEK':
../../../source/c/function.c:328:18: warning: implicit declaration of function 'ISNUM'; did you mean 'IS_NUM'? [-Wimplicit-function-declaration]
int uiStart = ISNUM( 4 ) ? ( unsigned int ) hb_parni( 4 ) - 1 : 0 ;
^~~~~
IS_NUM
../../../source/c/function.c:333:4: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
BOOL bSoft = hb_parl( 6 );
^~~~
HB_BOOL
../../../source/c/function.c:336:15: warning: ordered comparison of pointer with integer zero [-Wextra]
if (result > 0)
^
../../../source/c/function.c: In function 'HB_FUN_MYSQLSSLCONNECT':
../../../source/c/function.c:428:25: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
HB_BOOL bResult = FALSE;
^~~~~
FILE
../../../source/c/function.c: In function 'HB_FUN_MYSQLFETCHROW':
../../../source/c/function.c:572:4: error: unknown type name 'UINT'; did you mean 'LIST'?
UINT ui, uiNumFields;
^~~~
LIST
../../../source/c/function.c:573:4: error: unknown type name 'ULONG'; did you mean 'HB_ULONG'?
ULONG *pulFieldLengths ;
^~~~~
HB_ULONG
../../../source/c/function.c:583:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
pulFieldLengths = mysql_fetch_lengths( mresult ) ;
^
../../../source/c/function.c: In function 'HB_FUN_MYSQLLISTTBLS':
../../../source/c/function.c:636:14: error: 'LONG' undeclared (first use in this function)
nr = ( LONG ) mysql_num_rows( mresult );
^~~~
../../../source/c/function.c:636:21: error: expected ';' before 'mysql_num_rows'
nr = ( LONG ) mysql_num_rows( mresult );
^~~~~~~~~~~~~~
../../../source/c/function.c: In function 'HB_FUN_MYSQLLISTDBS':
../../../source/c/function.c:673:14: error: 'LONG' undeclared (first use in this function)
nr = ( LONG ) mysql_num_rows( mresult );
^~~~
../../../source/c/function.c:673:21: error: expected ';' before 'mysql_num_rows'
nr = ( LONG ) mysql_num_rows( mresult );
^~~~~~~~~~~~~~
../../../source/c/function.c: In function 'HB_FUN_MYSQLNUMROWS':
../../../source/c/function.c:697:17: error: 'LONGLONG' undeclared (first use in this function); did you mean 'HB_LONGLONG'?
hb_retnll( ( LONGLONG )mysql_num_rows( ( ( MYSQL_RES * )hb_MYSQL_RES_par( 1 ) ) ) );
^~~~~~~~
HB_LONGLONG
../../../source/c/function.c:697:27: error: expected ')' before 'mysql_num_rows'
hb_retnll( ( LONGLONG )mysql_num_rows( ( ( MYSQL_RES * )hb_MYSQL_RES_par( 1 ) ) ) );
^~~~~~~~~~~~~~
../../../source/c/function.c: In function 'HB_FUN_MYSQLRESULTSTRUCTURE':
../../../source/c/function.c:796:3: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
BOOL bCase = hb_parl( 2 );
^~~~
HB_BOOL
../../../source/c/function.c:797:3: error: unknown type name 'BOOL'; did you mean 'HB_BOOL'?
BOOL bNoLogical = hb_param( 3, HB_IT_LOGICAL ) ? hb_parl( 3 ) : FALSE;
^~~~
HB_BOOL
../../../source/c/function.c:797:67: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
BOOL bNoLogical = hb_param( 3, HB_IT_LOGICAL ) ? hb_parl( 3 ) : FALSE;
^~~~~
FILE
../../../source/c/function.c:824:37: warning: implicit declaration of function 'SQL2ClipType' [-Wimplicit-function-declaration]
hb_arraySetC( itemField, 9, SQL2ClipType( ( long ) mfield->type, bNoLogical ) );
^~~~~~~~~~~~
--------------------------------------------------------------