Author Topic: [solved in svn 9907] cppcheck folder setting does not accept variable of CB  (Read 4993 times)

Offline edison

  • Multiple posting newcomer
  • *
  • Posts: 53
I put the full cppcheck pack into x:\CodeBlocks\tools\cppcheck\, but the cppcheck setting in CodeBlocks does not accept this setting: $(CODEBLOCKS)\tools\cppcheck\cppcheck.exe, it just rollback to "cppcheck.exe".
« Last Edit: September 05, 2014, 03:43:36 am by edison »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: cppcheck folder setting does not accept variable of CB
« Reply #1 on: September 03, 2014, 09:48:35 pm »
It seems that the problem happens only when the path is entered in the text control, but works correctly if the browse button is used.
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: cppcheck folder setting does not accept variable of CB
« Reply #2 on: September 03, 2014, 10:17:48 pm »
Should be fixed in svn...
(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 edison

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: cppcheck folder setting does not accept variable of CB
« Reply #3 on: September 04, 2014, 08:17:25 am »
the location setting does not rollback any more, but when I ran the cppcheck in plugin menu there is a error message window pop-up :

---------------------------
Error
---------------------------
Failed to launch cppcheck.
Please setup the cppcheck executable accordingly in the settings.
---------------------------
OK   
---------------------------

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: cppcheck folder setting does not accept variable of CB
« Reply #4 on: September 04, 2014, 09:08:46 am »
Because it doesn't support macros...
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: cppcheck folder setting does not accept variable of CB
« Reply #5 on: September 04, 2014, 11:54:50 pm »
Fixed this too...
(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 edison

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: cppcheck folder setting does not accept variable of CB
« Reply #6 on: September 05, 2014, 03:42:55 am »
Thanks a lot !It works.