On Fri, May 3, 2013 at 12:51 PM, niXman <i.nix...@gmail.com> wrote:
> Hi JonY,
>
>> If you use -D__MINGW_USE_ANSI_STDIO=1, use %lld.
>> If you DO NOT USE -D__MINGW_USE_ANSI_STDIO=1, use %I64d.
>
> Tell me please, what can be reasons to use '%I64d' and do not use
> '-D__MINGW_USE_ANSI_STDIO=1' ?
> I'm just curious, why not just use the GNU style format string?
>

One may want to avoid mingw-provided print routines, which are linked
statically, and want to use the ones from msvcrt.dll (which is shared
code).

Personally, I always use windows-native stuff, e.g. %I64 in cases such
as this, but yes it may be hard to do so when porting posix and/or c99-
compliant code which rely on pure conformance.

>
> Thanks.
>
> --
> Regards,
> niXman

--
O.S.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to