Warnings compiling Harbour with GCC 14.2 - UCRT 64Bit

55 views
Skip to first unread message

Itamar Lins

unread,
Dec 13, 2024, 9:02:25 AM (8 days ago) Dec 13
to Harbour Developers
Hi!
...
C:/dev/hb32/include/hbdefs.h:740:23: note: format string is defined here
740 | # define PFLL "I64"
| ^
../../../gencc.c:62:31: warning: too many arguments for format [-Wformat-extra-args]
62 | fprintf( cargo->yyc, "lab%05" HB_PFS "u: ;\n", nLab ); \
| ^~~~~~~~
../../../gencc.c:724:4: note: in expansion of macro 'HB_GENC_LABEL'
724 | HB_GENC_LABEL();
| ^~~~~~~~~~~~~
../../../gencc.c: In function 'hb_p_macropush':
../../../gencc.c:62:31: warning: unknown conversion type character 'I' in format [-Wformat=]
62 | fprintf( cargo->yyc, "lab%05" HB_PFS "u: ;\n", nLab ); \
| ^~~~~~~~
../../../gencc.c:732:4: note: in expansion of macro 'HB_GENC_LABEL'
732 | HB_GENC_LABEL();
| ^~~~~~~~~~~~~
C:/dev/hb32/include/hbdefs.h:740:23: note: format string is defined here
740 | # define PFLL "I64"
| ^
../../../gencc.c:62:31: warning: too many arguments for format [-Wformat-extra-args]
62 | fprintf( cargo->yyc, "lab%05" HB_PFS "u: ;\n", nLab ); \
| ^~~~~~~~
../../../gencc.c:732:4: note: in expansion of macro 'HB_GENC_LABEL'
732 | HB_GENC_LABEL();
| ^~~~~~~~~~~~~
../../../gencc.c: In function 'hb_p_macropushref':
../../../gencc.c:62:31: warning: unknown conversion type character 'I' in format [-Wformat=]
62 | fprintf( cargo->yyc, "lab%05" HB_PFS "u: ;\n", nLab ); \
|
...
C:\dev\hb32>harbour -build
Harbour 3.2.0dev (r2412130806)
Copyright (c) 1999-2024, https://harbour.github.io/

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2412130806)
Compiler: MinGW GNU C 14.2 (64-bit)
Platform: Windows 10 10.0.19045
PCode version: 0.3
ChangeLog last entry: 2024-12-13 09:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
ChangeLog ID: 9dc144c52209ac7140ab254dbda510ac928fb7f4
Built on: Dec 13 2024 09:51:14
Build options: (Clipper 5.3b) (Clipper 5.x undoc)
---------------------------

Best regards,
Itamar M. Lins Jr.
Reply all
Reply to author
Forward
0 new messages