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
Would it be possible to make the colour of warning messages different from the colour of error messages? Say yellow instead of red. I often get warnings about things in third party libraries that don't prevent them from working ok, but because they look the same as errors as they flash past me on the screen, I have to scroll back and look at them. I know this is not a big problem, but if it was easy to fix in the next release, that would be nice.
The text was updated successfully, but these errors were encountered:
Also mentioned in #7451 (different issue though, so this should remain open)
matthijskooijman said in #7451 (comment) that "The problem there is that it is hard to reliably decide whether something is an error, warning, etc." since everything is printed to stderr.
I think then perhaps an alternative could be made: (i'm no expert in GGC internals this could be a bad suggestion)
Add a more heavyweight compile option for debugging purposes which compiles the code two times (the second time preferably with some kind of cache if possible)
Compile with warnings disabled
Compile again, with warnings enabled
Do the stderr diff and you know which ones are warnings (or non-errors at least?) reliably.
This would be only for GGC cores of course, and more generic and easier to maintain than regexes at least. Perhaps regexes are actually better? https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Warnings-and-Errors.html says warnings include the text warning: to distinguish them from error messages, so a regex should actually be pretty easy i think?
The heavyweight compile option could be triggered by clicking Shift+Compile or something of the sort. Maybe a preferences option also.
Or now that I think about it, since the problems is third-party library warnings maybe add preference to disable warning output for library files?
Would it be possible to make the colour of warning messages different from the colour of error messages? Say yellow instead of red. I often get warnings about things in third party libraries that don't prevent them from working ok, but because they look the same as errors as they flash past me on the screen, I have to scroll back and look at them. I know this is not a big problem, but if it was easy to fix in the next release, that would be nice.
The text was updated successfully, but these errors were encountered: