mingw defines __MSVCRT_VERSION__

Farkas Levente lfarkas at lfarkas.org
Thu Mar 19 21:14:02 UTC 2009


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?

-- 
  Levente                               "Si vis pacem para bellum!"



More information about the mingw mailing list