有关一些长期的错误,海湾合作委员会输出致密,有很多自动换行等。特别是当错误是微妙的,它可以带我10-30秒眯眼用我的眼睛来分析它。
For some long errors, the gcc output is dense and has lots of line-wrapping etc. Especially when errors are subtle, it can take me 10-30 seconds of squinting to parse it with my eyes.
我带到这个粘贴在一个开放的code-编辑器窗口来了解一些基本的语法高亮,使与正则表达式的格式化。
I've taken to pasting this in an open code-editor window to get some basic syntax highlighting and enable reformatting with regex's.
有没有人发明了一种更加自动化的方法?
Has anyone invented a more automated method?
推荐答案我发现 colorgcc 是无价的。通过引入着色,它变得更容易精神分析的gcc错误信息文本,特别是当模板都有涉及。
I've found colorgcc to be invaluable. By introducing coloring, it becomes much easier to mentally parse the text of gcc error messages, especially when templates are involved.
更多推荐
有没有办法让可读的gcc的错误和警告输出在命令行?
发布评论