[bash-script/gcc] check warning of make within git-diff of commit


When you need check "make warning" in specific commits, you can use this script to check just in some commits.

This script takes some steps.

step1. You must know your commit hash. : like abcd1234
step2. Checkout to your commit.
 Like this, git checkout abcd1234.
step3. You need output file that run make.
 Try to run command "make &> myoutput"
step4. Then run this.
./new_warning.sh abcd1234 myoutput

You can download this script : new_warning.sh

Comments

Popular posts from this blog

e1000e 0000:00:1f.6 eno1: Detected Hardware Unit Hang

[WordPress] Change https redirect in DB.

sanitize on in CMakeLists.txt