highlight and filter (gcc) compiler messages

后端 未结 8 1366
情话喂你
情话喂你 2021-01-06 09:11

i\'m currently refactoring a C-project, throwing about 1000 warnings at me. is there a way to highlight and filter these warnings. (eg make all index warnings red, unused bl

相关标签:
8条回答
  • 2021-01-06 09:38

    Try the colorgcc Debian package. There are also three other packages I found: Johannes Schlüter's colorgcc, or this package in German, or this Sourceforge project

    0 讨论(0)
  • 2021-01-06 09:38

    Compiling in emacs gives you some highlighting. Presumable the details are amenable to customization.

    Use M-x compile and issue you usual build command (defaults to make -k).

    0 讨论(0)
提交回复
热议问题