在bash中使用gcc警告语法hilighting

时间:2022-01-29 02:24:36

Is there a way to enable a hilighting scheme for gcc/g++ warning output? I'd like a simple way to spot (bright red?) warnings from my compiler as the messages are streaming by.

有没有办法为gcc / g ++警告输出启用hilighting方案?我想要一种简单的方法来发现(亮红色?)警告来自我的编译器,因为消息是流式传输的。

1 个解决方案

#1