You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context: this was done because there was a new warning introduced for armv6 builds and it appears at the top of this block of output, hence the desire to shorten it because it generally overflows a standard terminal height.
I do agree that it is a bit of an eyesore now though, @trevnorris also commented about this
Yeah, the reason for that change was that me and another user missed the warning as it scrolled off because of that long options list.
One possible solution could be to accumulate warnings and errors in a variable and print them at the end. Only issue I have with that would be that they are possibly taken out of context on which step they were generated on. Or alternatively, move the flags to the top (if possible).
Activity
silverwind commentedon Jan 24, 2015
Could definitly be improved by proper nesting and sorting.
rvagg commentedon Jan 25, 2015
context: this was done because there was a new warning introduced for armv6 builds and it appears at the top of this block of output, hence the desire to shorten it because it generally overflows a standard terminal height.
I do agree that it is a bit of an eyesore now though, @trevnorris also commented about this
mscdex commentedon Jan 25, 2015
The warning can't be printed after the config option list?
rvagg commentedon Jan 25, 2015
not easily but you're welcome to refactor
silverwind commentedon Jan 25, 2015
Yeah, the reason for that change was that me and another user missed the warning as it scrolled off because of that long options list.
One possible solution could be to accumulate warnings and errors in a variable and print them at the end. Only issue I have with that would be that they are possibly taken out of context on which step they were generated on. Or alternatively, move the flags to the top (if possible).
silverwind commentedon Jan 25, 2015
After giving this more thought, I'd propose this:
pprintformThis will require a custom warn() function to be used throughout the file. I'll look into doing another PR for that.
bnoordhuis commentedon Jan 25, 2015
@silverwind You may want to base it off #585.
silverwind commentedon Jan 25, 2015
@bnoordhuis Thanks, that PR contains partly what I would've done. Will wait a day or two for that PR to resolve, and the submit my own.
bnoordhuis commentedon Jan 28, 2015
Fixed by 6ad236c.