Open HaronK opened 9 years ago
That's a really great idea! I'll try to integrate this soon-ish. Right now I've started to work on Oryol again but will try to squeeze this in. Thanks!
Hmm, the scan-build tool doesn't seem to be installed as part of the Xcode commane line tools on OSX (clang is though), instead xcodebuild is called with an 'analyze' option. There should be an alternate 'fips analyze' which is like 'fips build', but instead runs a code analyzer 'build'.
Maybe thinking about a more generic solution would be cool. To e.g. also add cppcheck. But indeed, a cool patch. Will add it locally already ;)
doh, I totally forgot about his, Martin, if you're integrating and testing this in your fork anyway I'd be happy to accept a pull-request ;) (even if it doesn't work out-of-the-box on OSX)
:+1: Just to bump ;)
I wish github would implement a proper voting system, so that often requested thing would rise to the top...
Yes.. they say they are doing this, lets see...
I suggest to add Clang static analyzer to the list of fips targets. It will help to keep project in a good shape. I just run it right now with Oryol project and it shows 0 issues. Cool!!!
Diff:
configs/linux-make-scan.yml:
mod/tools/scan.py: