Dmd sc.ini and VS do not work well together!

Igor via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 23 13:41:37 PST 2016


> The installer should be modernized and provide path information 
> and resolve dependencies properly before installing. It is 
> clear that dmd was not designed for windows use.

Also, sc.ini global variables should be at the top most section:

> [Environment]
> DFLAGS="-I%@P%\..\..\src\phobos" 
> "-I%@P%\..\..\src\druntime\import"
> LIB="%@P%\..\lib"
These should be placed here instead of the individual sections as 
it creates redunancy and is bug prone:
VCINSTALLDIR=C:\PF\VS2015\VC\
WindowsSdkDir=C:\PF\Windows Kits\8.1\
UniversalCRTSdkDir=C:\PF\Windows\Kits\10\

or even in [Version]


More information about the Digitalmars-d mailing list