On Thu, Mar 19, 2009 at 10:14:02PM +0100, Farkas Levente wrote:
Kevin Kofler wrote:
Farkas Levente wrote:
may be it's not the right place to ask and would be better to move to mingw mailing list, but it's the right version? ie. the current runtime really not support __MSVCRT_VERSION__ >= 0x0601? thanks.
No, it's just that the default version is 0x0600 to be compatible with old installed versions of msvcrt.dll.
You can compile with -D__MSVCRT_VERSION__=0x0601, but then expect trouble on systems which still ship the ancient 0x0600 version (e.g. Window$ 95 OSR 2, I guess - the original Window$ 95 didn't include msvcrt.dll at all). I'm not sure when the 0x0601 version was introduced nor whether it's worth caring about the systems which shipped the 0x0600 version and never got their msvcrt.dll upgraded by a newer M$VC application.
ok i know that and it's works, but the real question is: do we want to support such old systems? if not shouldn't we have to add -D__MSVCRT_VERSION__=0x0601 (or even 0x0700) to macros.mingw32's %_mingw32_cflags? so which windows version we'd like to support?
It's not a good idea to add this to _mingw32_cflags. Developers can add it themselves when they want to deprecate these really old systems for their own software.
Rich.