mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2468 from bridadan/fix-gcc-diagnostic-pattern
Tools - Fixing issue where GCC fails to report compile errors when non-verbosepull/2495/merge
commit
862db41be3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue