Skip to content

jakeru/warning_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Warning Stats

Get a summary of warnings found by your toolchain when building your project.

Requirements

  • Python 3.10

Installation

Clone this repository and put it somewhere (for example ~/warning_stats).

Install the pip package warning-parser:

pip install warning-parser

Ensure that you can run the tool:

~/warning_stats/warning_stats.py --help

Usage

Remove the -werror flag temporarly for your project in order to not treat warnings as errors since we want to get a list of all warnings.

Make a full build of your project and redirect the output to stderr into a file. Perhaps something like this:

make clean
make 2> warnings.txt

Now, run this tool on the generated file:

~/warning_stats/warning_stats.py warnings.txt

Now you should see a summary of all the warnings found while building your project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages