Skip to content

Commit

Permalink
fix issue dlang#264: VisualD doesn't run compiled executable, when I …
Browse files Browse the repository at this point in the history
…select "Compile and Run" option
  • Loading branch information
rainers committed Dec 16, 2023
1 parent c3b1d01 commit cce2504
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
17 changes: 0 additions & 17 deletions sdk/vsi.visualdproj
Original file line number Diff line number Diff line change
Expand Up @@ -2223,15 +2223,6 @@
<File path="vsi\msdbg168.d" />
<File path="vsi\msdbg169.d" />
<File path="vsi\msdbg16a.d" />
<File path="vsi\msdbg170.d" />
<File path="vsi\msdbg171.d" />
<File path="vsi\msdbg172.d" />
<File path="vsi\msdbg173.d" />
<File path="vsi\msdbg174.d" />
<File path="vsi\msdbg175.d" />
<File path="vsi\msdbg176.d" />
<File path="vsi\msdbg177.d" />
<File path="vsi\msdbg178.d" />
<File path="vsi\msdbg90.d" />
<File path="vsi\objext.d" />
<File path="vsi\ocdesign.d" />
Expand Down Expand Up @@ -2303,14 +2294,6 @@
<File path="vsi\vsshell166.d" />
<File path="vsi\vsshell167.d" />
<File path="vsi\vsshell169.d" />
<File path="vsi\vsshell171.d" />
<File path="vsi\vsshell172.d" />
<File path="vsi\vsshell174.d" />
<File path="vsi\vsshell175.d" />
<File path="vsi\vsshell176.d" />
<File path="vsi\vsshell177.d" />
<File path="vsi\vsshell178.d" />
<File path="vsi\vsshell179.d" />
<File path="vsi\vsshell2.d" />
<File path="vsi\vsshell80.d" />
<File path="vsi\vsshell90.d" />
Expand Down
1 change: 1 addition & 0 deletions stdext/com.d
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ C newCom(C, T...)(T arguments) if(is(C : ComObject) && T.length > 0)

class ComObject : IUnknown
{
version(none)
@disable new(size_t size)
{
assert(false); // should not be called because we don't have enough type info
Expand Down
2 changes: 1 addition & 1 deletion vdc/dmdserver/dmd
Submodule dmd updated 1 files
+4 −1 compiler/src/dmd/dscope.d
2 changes: 1 addition & 1 deletion visuald/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -3203,7 +3203,7 @@ class Config : DisposingComObject,
cmd ~= "if %errorlevel% neq 0 echo Compiling " ~ file.GetFilename() ~ " failed (error code %DISPERR%)!\n";
else
cmd ~= "if %errorlevel% neq 0 echo Building " ~ outfile ~ " failed (error code %DISPERR%)!\n";
cmd ~= "exit /B %ERR%\n";
cmd ~= "if %ERR% neq 0 exit /B %ERR%\n"; // assume fall through is for success
cmd = mProjectOptions.replaceEnvironment(cmd, this, file.GetFilename(), outfile);
}
return cmd;
Expand Down
14 changes: 14 additions & 0 deletions visuald/visuald.visualdproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -189,6 +190,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -314,6 +316,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -439,6 +442,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>2</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -564,6 +568,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -689,6 +694,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>2</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -814,6 +820,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -939,6 +946,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1064,6 +1072,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1189,6 +1198,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1314,6 +1324,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>2</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1439,6 +1450,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1564,6 +1576,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>2</compiler>
<otherDMD>0</otherDMD>
Expand Down Expand Up @@ -1689,6 +1702,7 @@
<preview_nosharedaccess>0</preview_nosharedaccess>
<preview_in>0</preview_in>
<preview_inclincontracts>0</preview_inclincontracts>
<preview_shortenedMethods>0</preview_shortenedMethods>
<transition_vmarkdown>0</transition_vmarkdown>
<compiler>0</compiler>
<otherDMD>0</otherDMD>
Expand Down

0 comments on commit cce2504

Please sign in to comment.