Building latest LDC on windows
Kai Nacke
kai at redstar.de
Sun Sep 8 04:30:45 PDT 2013
On Friday, 6 September 2013 at 20:59:06 UTC, Temtaime wrote:
> Maybe i'll druntime rewrite to support 32 bit CRT.
> Knows one what's wrong with invariants?
> Thanks for any help.
>
> Regards.
Hi Temtaime,
in most case the situation in Druntime is as follows:
- a check for Win32 implies the DigitalMars runtime
- a check for Win64 implies the Microsoft runtime
The obvious fix is to distinguish betweeb the runtimes, e.g.:
version( DigitalMars )
{
version( Win32 )
version = DMCRT;
version( Win64 )
version = MSVCRT;
}
version( LDC )
{
version( Win32 )
version = MSVCRT;
version( Win64 )
version = MSVCRT;
}
and then consequently using DMCRT and MSVCRT.
Regards
Kai
More information about the digitalmars-d-ldc
mailing list