From 0cbb7f37a78a721e0666e4d365fbaf9f2b18027b Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 31 Mar 2016 04:14:29 +0200 Subject: [PATCH] indicate the exist status of DMD after compil failure of a runnable module --- src/ce_main.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ce_main.pas b/src/ce_main.pas index 21cdc8ee..2139be6c 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -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;