Skip to content

Commit 862db41

Browse files
authored
Merge pull request #2468 from bridadan/fix-gcc-diagnostic-pattern
Tools - Fixing issue where GCC fails to report compile errors when non-verbose
2 parents f6be78d + 20ddba6 commit 862db41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def parse_output(self, output):
138138
# The warning/error notification is multiline
139139
msg = None
140140
for line in output.splitlines():
141-
match = GCC.DIAGNOSTIC_PATTERN.match(line)
141+
match = GCC.DIAGNOSTIC_PATTERN.search(line)
142142
if match is not None:
143143
if msg is not None:
144144
self.cc_info(msg)

0 commit comments

Comments
 (0)