Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: cambalinho on September 06, 2015, 08:01:40 pm

Title: about the Cppcheck plugin arguments
Post by: cambalinho on September 06, 2015, 08:01:40 pm
can i change the Cppcheck plugin arguments for check just the custommer header file and not all included files?
(anotherthing: i lose the standard argument )
Title: Re: about the Cppcheck plugin arguments
Post by: oBFusCATed on September 06, 2015, 09:14:48 pm
You can pass custom arguments to the cppcheck executable.
The question is can cppcheck do what you want.
Unfortunately I don't know the answer, you might get it by asking on a cppcheck support channel (mailing list or forum).
Title: Re: about the Cppcheck plugin arguments
Post by: cambalinho on September 06, 2015, 09:19:05 pm
do you have the Code Blocks?
if yes: please copy paste the entire arument list for i correct it.
(Settings - Environment on menu. cppcheck(on left), "cppcheck arguments"... just copy the text and give me, please)
Title: Re: about the Cppcheck plugin arguments
Post by: oBFusCATed on September 06, 2015, 10:25:30 pm
Code
--verbose --enable=all --enable=style --xml
Title: Re: about the Cppcheck plugin arguments
Post by: cambalinho on September 06, 2015, 10:28:10 pm
thanks for that.
now maybe someone can help me with arguments commands for just read my own header file ;)
thanks for all
Title: Re: about the Cppcheck plugin arguments
Post by: oBFusCATed on September 07, 2015, 02:19:35 am
As I've said you have a better chance to get an answer by cppcheck support people.