Bailing out from checking C:\Users\liushuai\Desktop\DisplayMapBaseDialog.cpp since there was an internal error: Failed to execute 'python.exe "C:\Program Files\Cppcheck\addons\runaddon.py" "C:\Program Files\Cppcheck\namingng.py" --cli C:\Users\liushuai\Desktop\DisplayMapBaseDialog.cpp.dump'. usage: namingng.py [-h] [--debugprint] [--configfile CONFIGFILE] [--verify] dumpfiles [dumpfiles ...] namingng.py: error: unrecognized arguments: --cli
How to customize rules,such as: It is recommended to define constants using macros or const. The pointer variable dynamically allocated must be judged whether it is NULL before being used for the first time
Have you solved this problem? I'm in version 2.8, but I still have this problem
And what is the format in the JSON file?
thanks alot,Where should I view the documentation about naming? In addition, I found that cppcheck on my side does not check. H files. Is there any restriction in the code? Where is it? Can I let go?
I'm new in cppcheck. I just want to use it to check some coding style issue, for example, void checknameis(); // bad style and should give an message void checkNameIs(); // good style or int num;// bad style and should give an message int pNum; // good style can I enable cppcheck to do such check?