-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 23.05.2016 12:52, 성이름 wrote:
> Hi. I always appreciate your contribution.
>
> I use mingw-w64 5.3.0.
>
> In the case of: printf("%lld", longlongint);
>
> The compiler says: warning: unknown conversion type character 'l' in
> format [-Wformat=]| warning: too many arguments for format
> [-Wformat-extra-args]|
>
> But there's not a problem in the runtime.
>
> Would you tell me the reason or some links about that issue?
Look up printf definition that actually gets used stdio.h (do you compile
with -D__USE_MINGW_ANSI_STDIO=1 or some other macros, like _GNU_SOURCE?).
See if it has __attribute__((format(...))). If it does, you have to
follow that format specification (GNU format if 'gnu_printf', MS format
if 'ms_printf' or 'printf').
Note that this has absolutely no effect on what actually happens at
runtime. If you use MinGW ANSI stdio, %lld will work. If you use MSVCRT,
%lld might work, if CRT version is recent enough. If you use gnulib
printf, %lld will work.
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXRIifAAoJEOs4Jb6SI2CwCZ4H/2918kXiaoXVLMTNWdn0MnGV
iJMQkZxRKVFkDdo+C+7cZezOyNcpwqPJZFxD+30oRIMm3sZL3B150fn+mob4TZD9
0gMycvTFxvHn0HRm7g0R39BlAGnTgQVPTL4QQHUOC12P9aC5i60IvjXr9W6HFScq
ht6ObpEAfrA3Xi3wAenBIb3/FpaK3AtaYNlotwX286nnQqReG3S7CnBsn1IC9gTR
BQhQDhqlhppFeYVtcDtgbxxpw400Wyubw6HUm0fX9aIJF1GvIV7rFca+iN85g1jC
iG55jBzzapBpvmG9kVSNWcMoL1uru9aByWbeUzsogwwLQvGc0hGm1dqP8igppWU=
=ahhk
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public