Hi Guys.
When processing rule checks in an addon module, I need to determine whether the processing is being performed for C90 or C99. cppcheck has the cli option --std=c99 but this information does not seem to be passed into the dump file. Is there an existng way to get this into the dump file or does cppcheck need to be updated? I would rather cppcheck do the operation so all the addons have the same information available, rather than adding it as an extra option when running the addon. Then cppcheckgui would run have the same result as running cppcheck + python w/addon seperately.
Thanks,
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys.
When processing rule checks in an addon module, I need to determine whether the processing is being performed for C90 or C99. cppcheck has the cli option --std=c99 but this information does not seem to be passed into the dump file. Is there an existng way to get this into the dump file or does cppcheck need to be updated? I would rather cppcheck do the operation so all the addons have the same information available, rather than adding it as an extra option when running the addon. Then cppcheckgui would run have the same result as running cppcheck + python w/addon seperately.
Thanks,
Rob
as far as I see, an update in cppcheck is needed. this sounds like a good update to me. feel free to do it and send us a pull request on github.