mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2856 from bridadan/fixing-missed-build-error-prints
[Tools] Making all toolchains print final compiler messagepull/2859/head
commit
761ec4423b
|
@ -87,6 +87,7 @@ class ARM(mbedToolchain):
|
||||||
if match is not None:
|
if match is not None:
|
||||||
if msg is not None:
|
if msg is not None:
|
||||||
self.cc_info(msg)
|
self.cc_info(msg)
|
||||||
|
msg = None
|
||||||
msg = {
|
msg = {
|
||||||
'severity': match.group('severity').lower(),
|
'severity': match.group('severity').lower(),
|
||||||
'file': match.group('file'),
|
'file': match.group('file'),
|
||||||
|
|
|
@ -118,6 +118,7 @@ class GCC(mbedToolchain):
|
||||||
if match is not None:
|
if match is not None:
|
||||||
if msg is not None:
|
if msg is not None:
|
||||||
self.cc_info(msg)
|
self.cc_info(msg)
|
||||||
|
msg = None
|
||||||
msg = {
|
msg = {
|
||||||
'severity': match.group('severity').lower(),
|
'severity': match.group('severity').lower(),
|
||||||
'file': match.group('file'),
|
'file': match.group('file'),
|
||||||
|
@ -138,6 +139,9 @@ class GCC(mbedToolchain):
|
||||||
else:
|
else:
|
||||||
msg['text'] += line+"\n"
|
msg['text'] += line+"\n"
|
||||||
|
|
||||||
|
if msg is not None:
|
||||||
|
self.cc_info(msg)
|
||||||
|
|
||||||
def get_dep_option(self, object):
|
def get_dep_option(self, object):
|
||||||
base, _ = splitext(object)
|
base, _ = splitext(object)
|
||||||
dep_path = base + '.d'
|
dep_path = base + '.d'
|
||||||
|
|
|
@ -102,6 +102,7 @@ class IAR(mbedToolchain):
|
||||||
if match is not None:
|
if match is not None:
|
||||||
if msg is not None:
|
if msg is not None:
|
||||||
self.cc_info(msg)
|
self.cc_info(msg)
|
||||||
|
msg = None
|
||||||
msg = {
|
msg = {
|
||||||
'severity': match.group('severity').lower(),
|
'severity': match.group('severity').lower(),
|
||||||
'file': match.group('file'),
|
'file': match.group('file'),
|
||||||
|
@ -122,6 +123,9 @@ class IAR(mbedToolchain):
|
||||||
else:
|
else:
|
||||||
msg['text'] += line+"\n"
|
msg['text'] += line+"\n"
|
||||||
|
|
||||||
|
if msg is not None:
|
||||||
|
self.cc_info(msg)
|
||||||
|
|
||||||
def get_dep_option(self, object):
|
def get_dep_option(self, object):
|
||||||
base, _ = splitext(object)
|
base, _ = splitext(object)
|
||||||
dep_path = base + '.d'
|
dep_path = base + '.d'
|
||||||
|
|
Loading…
Reference in New Issue