Author Topic: about the Cppcheck plugin arguments  (Read 4721 times)

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
about the Cppcheck plugin arguments
« 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 )

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: about the Cppcheck plugin arguments
« Reply #1 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).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: about the Cppcheck plugin arguments
« Reply #2 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)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: about the Cppcheck plugin arguments
« Reply #3 on: September 06, 2015, 10:25:30 pm »
Code
--verbose --enable=all --enable=style --xml
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: about the Cppcheck plugin arguments
« Reply #4 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: about the Cppcheck plugin arguments
« Reply #5 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]