You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$(LI $(RELATIVE_LINK2 raii,Added RAII and try-finally support for -betterC mode.))
17
+
$(LI $(RELATIVE_LINK2 vs-auto-detection,Windows: dmd can now detect Visual Studio installation paths))
17
18
18
19
)
19
20
@@ -231,9 +232,8 @@ $(P
231
232
)
232
233
233
234
$(P
234
-
If one of the '-transition=' switches is not specified, and warnings are turned on,
235
-
a warning will be emitted for these operations. To turn off the warning and work
236
-
as desired with or without the '-transition=' switch:
235
+
If one of the '-transition=' switches is not specified, a deprecation will be emitted for these operations.
236
+
To fix the deprecation and work as desired with or without the '-transition=' switch:
237
237
)
238
238
239
239
$(P
@@ -253,8 +253,7 @@ Rewrite `op b` as `typeof(b)(op int(b))` to preserve the old behavior.
253
253
)
254
254
255
255
$(P
256
-
Eventually, the warning will become a deprecation, then an error, and then the C-like behavior
257
-
will become the default.
256
+
Once deprecated this will become an error, and then the C-like behavior will become the default.
258
257
)
259
258
)
260
259
@@ -299,6 +298,23 @@ exit, the code in the finally block is run.
299
298
)
300
299
)
301
300
301
+
$(LI $(LNAME2 vs-auto-detection,Windows: dmd can now detect Visual Studio installation paths)
302
+
$(P
303
+
dmd now determines the environment variables that are usually set if the "Command Line prompt for Visual Studio" link is used to open a console window (or vcvarsall.bat is executed). This includes Windows SDK directories and Visual C library directories. When compiling with -m64 or -m32mscoff this allows dmd to invoke the linker without having a Visual Studio version preselected by the installer.
304
+
)
305
+
306
+
$(P
307
+
In particular, the variables WindowsSdkDir, WindowsSdkVersion, UniversalCRTSdkDir,
308
+
UCRTVersion, VSINSTALLDIR, VisualStudioVersion, VCINSTALLDIR and VCTOOLSINSTALLDIR are
309
+
determined from the registry if they are not set in the environment or sc.ini.
310
+
)
311
+
312
+
$(P
313
+
Supported Windows SDK range from 7.0A to 10.x, supported Visual Studio Versions are
314
+
VS 2008 to VS 2017. If multiple versions are installed, highest versions are preferred.
0 commit comments