Hi Luigi,
On Mon, 15 Jan 2024 at 16:09, Luigi Ferraris <
luigfe...@gmail.com> wrote:
> today I have compiled Harbour from sources, using "gcc (Rev5, Built by MSYS2 project) 10.3.0" on Windows
> andI get this warning:
> ../../../hbpp.c: In function 'hb_pp_generateVerInfo':
> ../../../hbpp.c:353:22: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'HB_MAXINT' {aka 'long long int'} [-Wformat=]
> 353 | fprintf( fout, "#define HB_VER_REVID %" PFHL "ulu\n", nRevID );
Thanks! To be able to reproduce the issue, one would need to know if
you're building from the latest Harbour source (assumed yes) and what
version of MinGW-W64 runtime (not just the gcc compiler but the
headers) is used. Also, the actual failing gcc command llne would be
helpful. On the GitHub CI, with rolling-release MSYS2, the warning
does not reproduce.
This is a change probably related to your issue:
https://github.com/harbour/core/pull/333/files
-- Ph.