Skip to content

Commit 42e8ce4

Browse files
committed
Log the names of the files with errors reported by Clang and Gcc.
1 parent 26051aa commit 42e8ce4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,9 @@ private function doCompile($compiler_config, &$files, $dir, $CC, $CFLAGS, $CPP,
662662
* and if significant differences are detected, return a modified version of the clang output.
663663
*/
664664
$clangElements = $this->getClangErrorFileList ($output);
665+
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang reported files: " . implode(" | ", array_keys($clangElements)));
665666
$gccElements = $this->getGccErrorFileList ($avr_output);
667+
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Gcc reported files: " . implode(" | ", array_keys($gccElements)));
666668

667669
if (array_diff(array_keys($clangElements), array_keys($gccElements))) {
668670
$resp["old_message"] = $output;

0 commit comments

Comments
 (0)