compiler-warnings icon indicating copy to clipboard operation
compiler-warnings copied to clipboard

Enhance gcc output to show warnings enabled by default

Open pkolbus opened this issue 9 years ago • 1 comments

This patch series enhances the GCC options parser to indicate the options that are enabled by default, for the unique and top-level outputs. Having this information indicated within a diff makes it easier to see which options to consider enabling explicitly in a project.

The clang input doesn't appear to have anything corresponding.

A few questions came to mind during implementation -- comments on these or anything else are welcome.

  • Should this change in output be enabled by a command line option?
  • Do you see any problems or omissions in the heuristic used by DefaultsListener?
  • Should the listeners be focused on individual properties and the combination moved from DefaultsListener to parse_options_file?

pkolbus avatar Jan 08 '17 20:01 pkolbus

Looks interesting and promising and would solve some questions that compiler version updates raise. I'll take a closer look when I can focus a little bit on this.

Barro avatar Mar 14 '17 20:03 Barro