Skip to content

Commit b179e5a

Browse files
committed
Handle empty clang output when there is a gcc-clang diff.
1 parent 123d53f commit b179e5a

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
@@ -713,6 +713,8 @@ private function doCompile($compiler_config, &$files, $dir, $CC, $CFLAGS, $CPP,
713713
}
714714

715715
$resp["message"] = $this->pathRemover ($output, $compiler_config);
716+
if ($resp["message"] == "")
717+
$resp["message"] = $this->pathRemover($avr_output, $compiler_config);
716718
return $resp;
717719
}
718720
unset($output);

0 commit comments

Comments
 (0)