Last change on harbour cause minigui creation fail

77 views
Skip to first unread message

José Quintas

unread,
Dec 12, 2024, 10:19:17 AM12/12/24
to Harbour Minigui
Updating harbour, HMG Extended creation fail.
Only as comment: not only HMG Extended

José M. C. Quintas

Grigory Filatov

unread,
Dec 12, 2024, 12:21:33 PM12/12/24
to Harbour Minigui
Hi José,

Thanks for your report.
But I don't confirm any problems with the latest Harbour 3.2 buld below:

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2412111835)
Compiler: Borland C++ 5.8.2 (32-bit)
Platform: Windows 11 or newer 10.0.22000
PCode version: 0.3
ChangeLog last entry: 2024-12-11 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
ChangeLog ID: f11a796c7257c07df641782e2191a2889b12fbe5
Built on: Dec 12 2024 10:26:25

Please see your example built with the above Harbour build in the picture:

hmge.png

HTH,
Grigory

четверг, 12 декабря 2024 г. в 16:19:17 UTC+1, jmcqu...@gmail.com:

José Quintas

unread,
Dec 12, 2024, 1:50:11 PM12/12/24
to Harbour Minigui
It is on library creation.
part of error after update

hmge
248hbmk2: Processing environment options: -comp=mingw
249hbmk2: Building sub-project (level 2): source\hmge_main.hbp
250hbmk2: Processing environment options: -comp=mingw
251hbmk2: Compiling Harbour sources...
252hbmk2: Compiling...
253In file included from c:/temp/harbour/include/hbvmpub.h:50,
254 from ../../../../lib/.hbmk/win/mingw/h_activex.c:7:
255c:/temp/harbour/include/hbdefs.h:1628:51: error: static declaration of 'HB_FUN_CREATEWINDOWEX' follows non-static declaration
256 1628 | #define HB_FUNC_STATIC( funcname ) static HARBOUR HB_FUN_##funcname ( void )
257 | ^~~~~~~
258source\h_activex.prg:570:1: note: in expansion of macro 'HB_FUNC_STATIC'
259c:/temp/harbour/include/hbdefs.h:1627:78: note: previous declaration of 'HB_FUN_CREATEWINDOWEX' with type 'void(void)'
260 1627 | #define HB_FUNC_EXTERN( funcname ) HB_EXTERN_C_ HB_EXTERN_ HARBOUR HB_EXPORT HB_FUN_##funcname ( void )
261 | ^~~~~~~
262../../../../lib/.hbmk/win/mingw/h_activex.c:59:1: note: in expansion of macro 'HB_FUNC_EXTERN'
263 59 | HB_FUNC_EXTERN( CREATEWINDOWEX );
264 | ^~~~~~~~~~~~~~
265c:/temp/harbour/include/hbdefs.h:1628:51: warning: 'HB_FUN_CREATEWINDOWEX' defined but not used [-Wunused-function]
266 1628 | #define HB_FUNC_STATIC( funcname ) static HARBOUR HB_FUN_##funcname ( void )
267 | ^~~~~~~
268source\h_activex.prg:570:1: note: in expansion of macro 'HB_FUNC_STATIC'
269In file included from c:/temp/harbour/include/hbvmpub.h:50,
270 from ../../../../lib/.hbmk/win/mingw/h_registry.c:7:
271c:/temp/harbour/include/hbdefs.h:1628:51: error: static declaration of 'HB_FUN_ISWOW64' follows non-static declaration
272 1628 | #define HB_FUNC_STATIC( funcname ) static HARBOUR HB_FUN_##funcname ( void )


José M. C. Quintas

José Quintas

unread,
Dec 12, 2024, 2:07:36 PM12/12/24
to Harbour Minigui
revert.png


Removing commit no error.

build harbour ok
build application ok
build library not 

José M. C. Quintas

Grigory Filatov

unread,
Dec 12, 2024, 2:41:53 PM12/12/24
to Harbour Minigui
Good evening,

I confirm this issue for MinGW32 compiler only.

For BCC, BCC64 and MinGW64 compilers everything is fine.

Thank you for your attention.

Regards,
Grigory

четверг, 12 декабря 2024 г. в 20:07:36 UTC+1, jmcqu...@gmail.com:
Reply all
Reply to author
Forward
0 new messages