Menu

Check for C90 vs C99 in addon processing

Rob Gordon
2018-09-21
2018-09-22
  • Rob Gordon

    Rob Gordon - 2018-09-21

    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

     
  • Daniel Marjamäki

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.