Skip to content

Fixing issue where GCC fails to report compile errors when non-verbose #2468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2016

Conversation

bridadan
Copy link
Contributor

The output of the GCC compiler is such that the toolchain regex sometimes
got hung up on the : charcter being printed in front of the drive letter when
running on Windows. This PR changes the matching logic to be more flexible
by using search to check the entire string for a match, not just the
beginning of the string.

An example of where the current implementation fails is on this PR: #2422

The CI failure is visible here (scroll to the bottom): http://10.118.12.43:8081/job/build_matrix/270/target=KL25Z,toolchain=GCC_ARM/console

You can see the tools didn't print the error here. This PR should fix this issue.

The output of the GCC compiler is such that the toolchain regex sometimes
got hung up on the ':' charcter being printed in front of the drive letter when
running on Windows. This PR changes the matching logic to be more flexible
by using 'search' to check the entire string for a match, not just the
beginning of the string.
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 17, 2016

cc @screamerbg @theotherjimmy

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 19, 2016

Bump, any update?

@screamerbg
Copy link
Contributor

LGTM

@0xc0170 0xc0170 merged commit 862db41 into ARMmbed:master Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants