2023-01-15 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

125 views
Skip to first unread message

Przemyslaw Czerpak

unread,
Jan 15, 2023, 5:17:41 AM1/15/23
to harbou...@googlegroups.com
2023-01-15 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbwin/win_prn1.c
! fixed parameter type in font enum callback

* include/harbour.hbx
* src/harbour.def
* src/rtl/hbgtcore.c
+ added two new PRG functions:
hb_gtExists( <cGtName> ) -> <lExists>
hb_gtList() -> <aGtNames>

* src/rtl/hbgtcore.c
* changed the order of defualt GT initialization. Now GT specified by -gt*
hbmk2 option has higher priority then GT chosen by
request HB_GT_<name>_DEFAULT

* include/hbapi.h
* src/vm/set.c
+ added two C functions for OS codepage translations:
char * hb_osStrEncode2( const char * pszName,
char * pszBuffer, HB_SIZE nSize );
HB_WCHAR * hb_osStrU16Encode2( const char * pszName,
HB_WCHAR * pszBufferW, HB_SIZE nSize );

* include/hbwinuni.h
+ added HB_CHARDUP2() macro for UNICODE/ANSI OS codepage translation

* src/common/hbgete.c
! fixed memory allocation in MS-Windows version of hb_getenv_buffer()

* src/pp/hbpp.c
! added integer range to HB_VER_REVID definition to pacify warning

* src/rtl/cdpapi.c
* minor simplification

best regards
Przemek

toninhofwi

unread,
Jan 16, 2023, 5:53:49 AM1/16/23
to Harbour Developers
Hi Przemek how are you?

First thanks for this update, but I have this error when compile from scratch using MSVC 2022:

cl.exe   -I. -I../../../../../include -nologo -TP -W4 -wd4127 -O2  -DUNICODE -DHB_GUI -DHB_HASH_MSG_ITEMS -DHB_NO_DEBUG -Foharbour.obj  -c ../../../harbour.c
harbour.c
../../../harbour.c(53): error C3688: sufixo literal inválido 'I64u'; operador literal ou modelo de operador literal 'operator ""I64u' não encontrado
../../../../../config/rules.mk:88: recipe for target 'harbour.obj' failed
win-make[3]: *** [harbour.obj] Error 2
../../config/bin.mk:155: recipe for target 'descend' failed
win-make[2]: *** [descend] Error 2
../config/dir.mk:68: recipe for target 'main.inst' failed
win-make[1]: *** [main.inst] Error 2
config/dir.mk:68: recipe for target 'src.inst' failed
win-make: *** [src.inst] Error 2

Best regards,

Toninho.

Pete

unread,
Jan 16, 2023, 8:30:28 AM1/16/23
to Harbour Developers

Unfortunately, I do get the (same I think) error
while trying to build with MinGWin.
(gcc version 12.1.0 (i686-posix-sjlj-rev3, Built by MinGW-W64 project))

Below is the portion of output where build is failing..
---------------------------------------------------------------------------------------------------------------------------------------
gcc   -I. -I../../../../../include -W -Wall -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro  -DUNICODE  -oharbour.o  -c ../../../harbour.c
../../../../../config/rules.mk:88: recipe for target 'harbour.o' failed

../../config/bin.mk:155: recipe for target 'descend' failed
../config/dir.mk:68: recipe for target 'main.inst' failed
config/dir.mk:68: recipe for target 'src.inst' failed
---------------------------------------------------------------------------------------------------------------------------------------

regards,
Pete

Reply all
Reply to author
Forward
0 new messages