IDE: display target in CPU-OS format in "Compiler does not support target" message, patch from Anton, bug #20159

git-svn-id: trunk@32189 -
This commit is contained in:
maxim 2011-09-05 20:36:25 +00:00
parent 713fc0e538
commit 5c0afad161

View File

@ -603,8 +603,8 @@ var
if Cfg.RealCompiler='' then begin
debugln(['PPUFilesAndCompilerMatch Compiler=',Cfg.Compiler,' RealComp=',Cfg.RealCompiler,' InPath=',Cfg.RealCompilerInPath]);
IDEMessageDialog(lisCCOErrorCaption, Format(
lisCompilerDoesNotSupportTarget, [Cfg.Compiler, Cfg.TargetOS, Cfg.
TargetCPU]),
lisCompilerDoesNotSupportTarget, [Cfg.Compiler, Cfg.TargetCPU,
Cfg.TargetOS]),
mtError,[mbOk]);
exit(false);
end;