remove echo() from compiler
This commit is contained in:
parent
b093c0abd0
commit
08843c6673
1 changed files with 2 additions and 2 deletions
|
|
@ -675,9 +675,9 @@ proc callCCompiler*(projectfile: string) =
|
||||||
let runCb = proc (idx: int, p: Process) =
|
let runCb = proc (idx: int, p: Process) =
|
||||||
let exitCode = p.peekExitCode
|
let exitCode = p.peekExitCode
|
||||||
if exitCode != 0:
|
if exitCode != 0:
|
||||||
echo p.outputStream.readAll
|
|
||||||
rawMessage(errGenerated, "execution of an external compiler program '" &
|
rawMessage(errGenerated, "execution of an external compiler program '" &
|
||||||
cmds[idx] & "' failed with exit code: " & $exitCode)
|
cmds[idx] & "' failed with exit code: " & $exitCode & "\n\n" &
|
||||||
|
p.outputStream.readAll.strip)
|
||||||
compileCFile(toCompile, script, cmds, prettyCmds, false)
|
compileCFile(toCompile, script, cmds, prettyCmds, false)
|
||||||
compileCFile(externalToCompile, script, cmds, prettyCmds, true)
|
compileCFile(externalToCompile, script, cmds, prettyCmds, true)
|
||||||
if optCompileOnly notin gGlobalOptions:
|
if optCompileOnly notin gGlobalOptions:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue