Recently upgraded to cppcheck 1.70 and windows 10 so I'm not sure which of those is responsible, but...
My cppcheck settings got lost in the upgrade, so doubleclicking on errors from the gui opens up notepad.exe instead. I've added Notepad++ as the default application (executable = C:/Program Files (x86)/Notepad++/notepad++.exe) but when I doubleclick on an error, I get a dialog box saying "Could not start C:/Program Files (x86)/Notepad++/notepad++.exe"
Just a wild guess, but is it because the backslashes have become slashes? When I enter backslashes in the settings dialog they get changed to forward ones...?
Last edit: Roddy Pratt 2015-09-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Recently upgraded to cppcheck 1.70 and windows 10 so I'm not sure which of those is responsible, but...
My cppcheck settings got lost in the upgrade, so doubleclicking on errors from the gui opens up notepad.exe instead. I've added Notepad++ as the default application (executable = C:/Program Files (x86)/Notepad++/notepad++.exe) but when I doubleclick on an error, I get a dialog box saying "Could not start C:/Program Files (x86)/Notepad++/notepad++.exe"
Just a wild guess, but is it because the backslashes have become slashes? When I enter backslashes in the settings dialog they get changed to forward ones...?
Last edit: Roddy Pratt 2015-09-23
Had the same problem a few days ago, see here. You need to put quotes around it.