Talk:Building and hacking LDC on Windows using MSVC
Under Build LDC2 after doing a git submodule update --init I tried to apply the patches but I get errors:
$ git apply /c/ldcdev/2.061-2.diff
c:/ldcdev/2.061-2.diff:530: new blank line at EOF.
+
error: patch failed: dmd2/lexer.c:577
error: dmd2/lexer.c: patch does not apply
error: patch failed: dmd2/mars.c:99
error: dmd2/mars.c: patch does not apply
error: patch failed: dmd2/mars.h:196
error: dmd2/mars.h: patch does not apply
error: patch failed: dmd2/root/stringtable.h:30
error: dmd2/root/stringtable.h: patch does not app
error: patch failed: dmd2/statement.c:3868
error: dmd2/statement.c: patch does not apply
error: patch failed: dmd2/statement.h:226
error: dmd2/statement.h: patch does not apply