Skip to content
Snippets Groups Projects
  1. Jan 04, 2021
  2. Mar 05, 2020
  3. May 15, 2019
  4. May 10, 2019
    • Harald Welte's avatar
      Colorize compiler error/warning messages · b3dca57d
      Harald Welte authored
      
      If you've been mainly working with gcc during the past decade or so,
      it has been outputting compiler warning and errors in colorized form,
      if the output was a terminal.  Colorizing greatly helps to differentiate
      errors from warnings.
      
      Particularly since the TITAN compiler has (to my knowledge) no way to configure
      which warnings to emit an which not, it's very difficult for the human
      reader to pick out one 'error:' among potentially hundreds of 'warning:'
      lines.  That's even more the case as the 'error' and 'warninig' is
      printed after the variable-length location (file/line) and hence not
      aligned in some column.
      
      This patch adds output coloring to the TITAN compiler output, using the
      same colors as gcc default colors.  This way, error messages are red,
      warning messages are purple, and everything else is "default".
      
      Signed-off-by: default avatarHarald Welte <laforge@gnumonks.org>
      Change-Id: Ia5e42466ae3f964ce1bbaa159ae4f9f58259c616
      b3dca57d
  5. Apr 04, 2019
  6. Jun 18, 2018
  7. Apr 16, 2018
  8. Mar 23, 2017
  9. Mar 22, 2017
  10. Mar 19, 2017
  11. Feb 20, 2017
  12. Apr 01, 2016
  13. Nov 13, 2015
  14. Mar 16, 2015
  15. Jan 15, 2015
Loading