Code::Blocks Forums

User forums => Help => Topic started by: edison on September 03, 2014, 04:10:36 pm

Title: [solved in svn 9907] cppcheck folder setting does not accept variable of CB
Post by: edison on September 03, 2014, 04:10:36 pm
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".
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: oBFusCATed 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.
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: oBFusCATed on September 03, 2014, 10:17:48 pm
Should be fixed in svn...
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: edison 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   
---------------------------
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: oBFusCATed on September 04, 2014, 09:08:46 am
Because it doesn't support macros...
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: oBFusCATed on September 04, 2014, 11:54:50 pm
Fixed this too...
Title: Re: cppcheck folder setting does not accept variable of CB
Post by: edison on September 05, 2014, 03:42:55 am
Thanks a lot !It works.