FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posts: 128
Joined: Tue Jan 03, 2006 08:31 PM
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posted: Tue Dec 04, 2018 01:02 AM
Hola!
Alguien ha podido compilar TDolphing con msys64/cLang a 64 Bits.. me marca algunos errores y no logro crear la libreria :-)

    Harbour 3.4.0dev () (2017-12-20 13:40)
    Copyright (c) 1999-2017, https://github.com/vszakats/harbour-core/
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpexp.prg'...
    Lines 1201, Functions/Procedures 0
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpexp.c'... Done.
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpqry.prg'...
    Lines 3369, Functions/Procedures 45
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c'... Done.
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpsrv.prg'...
    Lines 4438, Functions/Procedures 86
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpsrv.c'... Done.
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3:
    In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50:
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:159:22: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    typedef signed long long HB_LONGLONG;
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:160:24: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    typedef unsigned long long HB_ULONGLONG;
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:7: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    # if HB_VMLONG_MAX > HB_LL( 9999999999 )
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:444:34: note: expanded from macro 'HB_VMLONG_MAX'
    # define HB_VMLONG_MAX LONGLONG_MAX
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:176:37: note: expanded from macro 'LONGLONG_MAX'
    #define LONGLONG_MAX _I64_MAX
    ^
    E:\msys64\mingw32\i686-w64-mingw32\include\limits.h:71:18: note: expanded from macro '_I64_MAX'
    #define _I64_MAX 9223372036854775807ll
    ^
    In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3:
    In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50:
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:23: warning: 'long long' is a C++11 extension
    [/list:u]
    Saludos!
    Gabriel Ornelas
Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posted: Tue Dec 04, 2018 06:21 PM

Parece que no hay errores...

______________________________________________________________________________

Sevilla - Andalucía
Posts: 128
Joined: Tue Jan 03, 2006 08:31 PM
Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posted: Tue Dec 04, 2018 08:10 PM
xmanuel wrote:Parece que no hay errores...

Gracias Manuel!
Revisare entonce a detalle en donde queda la libreria.. Pero parece que si Hay !
ya logre quitar la mayoria solo me faltan lo siguientes

    E:\ToolsDeveloper\tdolphin\source\c\function.c:572:4: error: unknown type name 'UINT'
    UINT ui, uiNumFields;
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:578:7: error: use of undeclared identifier 'uiNumFields'
    uiNumFields = hb_parnl( 2 );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:580:7: error: use of undeclared identifier 'uiNumFields'
    uiNumFields = mysql_num_fields( mresult );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:587:41: error: use of undeclared identifier 'uiNumFields'
    itRow = hb_itemArrayNew( uiNumFields );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:588:25: error: use of undeclared identifier 'uiNumFields'
    for ( ui = 0; ui < uiNumFields; ui++ )

    E:\ToolsDeveloper\tdolphin\source\c\function.c:41: error: use of undeclared identifier 'FALSE'
    iSize = hb_fsFSize( szFile, FALSE );

    E:\ToolsDeveloper\tdolphin\source\c\function.c:60: error: expected expression
    iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize );

    E:\ToolsDeveloper\tdolphin\source\c\function.c:26: error: use of undeclared identifier 'TRUE'
    bResult = TRUE ;
    [/list:u]
    Alguna idea ?
    Saludos!
Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posted: Fri Dec 07, 2018 09:41 AM

Pordrias probar a cambiar:

UINT por HB_UINT
FALSE por HB_FALSE
y
TRUE por HB_TRUE

______________________________________________________________________________

Sevilla - Andalucía
Posts: 817
Joined: Sun Jun 15, 2008 07:47 PM
Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Posted: Fri Dec 07, 2018 09:42 AM

iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize );
por
iSize = hb_fsReadLarge( fHandle , ( void * ) FromBuffer , iSize );

______________________________________________________________________________

Sevilla - Andalucía

Continue the discussion