Re: [hatari-devel] My cross-compiling experience |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] My cross-compiling experience
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Sat, 2 May 2020 10:55:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1588409741; bh=Of5M9V96OdgL/jLex+ZNqfClDDMNbebyVQhH/qCBWQM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=ir7/nDKJr23IOrQgGQUWRlSJs+F2SRT5kG0LXb7U/eAoGxr+Qrh3xP0fTX/L0GtaE m+YabGGCYJNsyb79hOBdeL3VO+OoR37Gvy9PaNHmo6VcP25+67CG+KVbzNEmU6B9oz n7uhxso95SoMNC/If1ZoTwVHA5FBaYpToCUxy/TI=
Nicolas Pomarède schrieb:
> I usually build the windows versions using mingw from a linux PC and
> there's no problem with that, but I never tried building hatari from a
> windows PC (don't have one), so it might be different.
As I'm using Windows Subsystem for Linux, that should be *exactly* like
building on a Linux PC, albeit one with Debian Linux in my case. I
suppose the difference between you and me is in the Linux distribution.
Debian Stable with its focus on software stability will not have
bleeding-edge versions of the mingw-w64 toolchain, for example.
> Regarding the warning at compile time, could you post the log file to
> see if we can do something about it ? Sometimes it's just about a few
> missing include to remove most of them.
The warnings are attached. Looking closer, while it's one entire
terminal screen full of them, they all come from a single line in
fpp_softfloat.c. Seems like the format string there is not what (my)
mingw gcc expects.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: unknown conversion type character ‘l’ in format [-Wformat=]
_stprintf(fsout, _T("%c%01lld.%016llde%c%04d%s%s"), n ? '-' : '+',
^
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: unknown conversion type character ‘l’ in format [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%c’ expects argument of type ‘int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long unsigned int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: too many arguments for format [-Wformat-extra-args]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: unknown conversion type character ‘l’ in format [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: unknown conversion type character ‘l’ in format [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%c’ expects argument of type ‘int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long unsigned int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
/home/czietz/hatari/src/cpu/fpp_softfloat.c:135:23: warning: too many arguments for format [-Wformat-extra-args]