mirror of https://github.com/ARMmbed/mbed-os.git
Making all toolchains print final compiler message.
This functionality was already present in the ARM toolchain script, but this commit adds this across all toolchain scripts. Solves an issue that cropped up where a build error wasn't being printed unless the verbose flag was used. This should now print any existing error messages that have been printed when the compiler output is being parsed.pull/2856/head
parent
b481da44e9
commit
10534019b9
|
|
@ -106,6 +106,7 @@ class ARM(mbedToolchain):
|
|||
if match is not None:
|
||||
if msg is not None:
|
||||
self.cc_info(msg)
|
||||
msg = None
|
||||
msg = {
|
||||
'severity': match.group('severity').lower(),
|
||||
'file': match.group('file'),
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ class GCC(mbedToolchain):
|
|||
if match is not None:
|
||||
if msg is not None:
|
||||
self.cc_info(msg)
|
||||
msg = None
|
||||
msg = {
|
||||
'severity': match.group('severity').lower(),
|
||||
'file': match.group('file'),
|
||||
|
|
@ -166,6 +167,9 @@ class GCC(mbedToolchain):
|
|||
else:
|
||||
msg['text'] += line+"\n"
|
||||
|
||||
if msg is not None:
|
||||
self.cc_info(msg)
|
||||
|
||||
def get_dep_option(self, object):
|
||||
base, _ = splitext(object)
|
||||
dep_path = base + '.d'
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ class IAR(mbedToolchain):
|
|||
if match is not None:
|
||||
if msg is not None:
|
||||
self.cc_info(msg)
|
||||
msg = None
|
||||
msg = {
|
||||
'severity': match.group('severity').lower(),
|
||||
'file': match.group('file'),
|
||||
|
|
@ -143,6 +144,9 @@ class IAR(mbedToolchain):
|
|||
else:
|
||||
msg['text'] += line+"\n"
|
||||
|
||||
if msg is not None:
|
||||
self.cc_info(msg)
|
||||
|
||||
def get_dep_option(self, object):
|
||||
base, _ = splitext(object)
|
||||
dep_path = base + '.d'
|
||||
|
|
|
|||
Loading…
Reference in New Issue