Dear all,
I am aware that this topic has been discussed already but I still don't
find a way to enable MISRA checker on the GUI.
I do have the rules file and I can run the check manually just fine
(using dump->analysis) on the command line.
But what exactly do I have to do to see these results in the GUI
(Version 1.8.9)?
Thank you, Morten.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are the dump files generated in the build dir during analysis?
Location:
1. File -> Edit project file
2. In the "Project file" dialog goto second tab "Checking".
3. At the top the "cppcheck build dir" is configured
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh dear, after a very long time Ifinally figured out what happened: Ihhad a python.bat in the path that called python.exe but the output is different from what happens if you call python.exe directly. Now it works!
Therefore, I would like to add a feature request: Explicitely setup the full path to the python executable. :-)
Besides: The MISRA feature is really super-cool!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That would probably help. However, in my case the command was simply "python" which triggered the .bat instead of the .exe. So it was actually my fault and such output wouldn't heave helped me, probably. Hard to say if you can avoid such.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I am aware that this topic has been discussed already but I still don't
find a way to enable MISRA checker on the GUI.
I do have the rules file and I can run the check manually just fine
(using dump->analysis) on the command line.
But what exactly do I have to do to see these results in the GUI
(Version 1.8.9)?
Thank you, Morten.
Are the dump files generated in the build dir during analysis?
Location:
1. File -> Edit project file
2. In the "Project file" dialog goto second tab "Checking".
3. At the top the "cppcheck build dir" is configured
Oh dear, after a very long time Ifinally figured out what happened: Ihhad a python.bat in the path that called python.exe but the output is different from what happens if you call python.exe directly. Now it works!
Therefore, I would like to add a feature request: Explicitely setup the full path to the python executable. :-)
Besides: The MISRA feature is really super-cool!
...alright... forget about it - its already possible - I saw it now :-/
One minor thing is left: The MISRA statement could include th rule no. in the GUI. :-)
hmm ok.. is there anything we can do to help the user if that happens again. maybe show the exact command we run the misra addon with in the GUI.
That would probably help. However, in my case the command was simply "python" which triggered the .bat instead of the .exe. So it was actually my fault and such output wouldn't heave helped me, probably. Hard to say if you can avoid such.