Merge pull request #2468 from bridadan/fix-gcc-diagnostic-pattern

Tools - Fixing issue where GCC fails to report compile errors when non-verbose
pull/2495/merge
Martin Kojtal 2016-08-19 13:48:54 +01:00 committed by GitHub
commit 862db41be3
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class GCC(mbedToolchain):
# The warning/error notification is multiline
msg = None
for line in output.splitlines():
match = GCC.DIAGNOSTIC_PATTERN.match(line)
match = GCC.DIAGNOSTIC_PATTERN.search(line)
if match is not None:
if msg is not None:
self.cc_info(msg)