indicate the exist status of DMD after compil failure of a runnable module

This commit is contained in:
Basile Burg 2016-03-31 04:14:29 +02:00
parent e36c0e8c76
commit 0cbb7f37a7
1 changed files with 2 additions and 0 deletions

View File

@ -2022,6 +2022,8 @@ begin
sysutils.DeleteFile(fname + objExt);
end
else begin
fMsgs.message(format('error: the process (%s) has returned the signal %d',
[dmdproc.Executable, dmdproc.ExitStatus]), fDoc, amcEdit, amkErr);
fMsgs.message(shortenPath(fDoc.fileName, 25) + ' has not been compiled',
fDoc, amcEdit, amkErr);
end;