Detecting gcc output without its command#10
Open
john-peterson wants to merge 1 commit intopagekite:masterfrom
Open
Detecting gcc output without its command#10john-peterson wants to merge 1 commit intopagekite:masterfrom
gcc output without its command#10john-peterson wants to merge 1 commit intopagekite:masterfrom
Conversation
colormake.pl
Outdated
Contributor
There was a problem hiding this comment.
The "?" belongs to the line before because it says the expression 0 or 1 time -> It belongs to the end of a line not the beginning
from a line that only contain a code file name because * some make files don't print the `gcc` command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Detecting
gccoutput without its commandCommit message
from a line that only contain a code file name
because
gcccommandProblem
This make command doesn't print the code file name
Solution
Detecting
gccoutput from a line that only contain a code file name becausegccoutput when thegcccommand isn't printed and when the make file print the code file name on a line without other textgccoutputConfirm filename regex
Confirm this code
because
I don't know why
\\instead of\\\returnmake -nmake -nisn't a workaround becauseit doesn't print the error line
make V=1make V=1isn't a workaround becauseit doesn't have an effect in this make file
Refactoring
The
gccblock detection regex is refactored bybecause
Discussion
This is changed