Hello,
I think this is not sufficient. -D__USE_MINGW_ANSI_STDIO should help,
however, my experience is that it somehow cripples swprintf with %s
placeholder on post-XP systems. So you always need to create separate
build for XP, if you want to support that system :-(
Pavel
On Mon, 2016-04-11 at 14:21 +0200, julien.darthe...@laposte.net wrote:
> Hello,
>
> Can you try to build your program with the g++ flag "-D_WIN32_WINNT=0x0501"
> or maybe "-D_WIN32_WINNT=0x0502"?
>
> - Mail original -
>
> De: "kl222"
> À: "mingw android"
> Cc: mingw-w64-public@lists.sourceforge.net
> Envoyé: Lundi 11 Avril 2016 03:42:18
> Objet: [Mingw-w64-public] How the program is runing in windowsxp?
>
> Hi all:
>
> I use mingw g++ to build a programe. It is running in windows 7 and
> laster. But it don't run in windowsxp.
>
> Use msvc 2013 tools chains build a programe with parameter
> /SUBSYSTEM:WINDOWS",5.01" . It is running in windowsxp.
>
> How do use mingw g++?
>
>
>
> Thinks!
>
> --
>
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers
> of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public