Menu

Why isn't cppcheck not part of GCC or CLang?

theuserbl
2017-12-21
2017-12-23
  • theuserbl

    theuserbl - 2017-12-21

    I know cppcheck is license-incompatible for it. But why a separate project, instead of having something like that in an compiler?
    Or having newer compiler something like cppcheck already implemented?

    Greetings
    theuserbl

     
  • Daniel Marjamäki

    It might sound good in theory. But I am not very interested to join gcc/clang for these reasons:
    * I do not want to abandon allowing nonstandard code and easy and quick setup. I also do not want to abandon the "no false positives" goal.
    * I have contributed to clang and this development is slow and painful. A build takes hours. When you have a patch it must be reviewed and you are lucky if it is reviewed quickly. I get 100 times more done in the cppcheck repo in the same time.

    I don't mean to discredit Clang. Clang is a great project, but in my humble opinion it got "too popular". I think the code owners have problems with the tsunami of patches coming.

     

    Last edit: Daniel Marjamäki 2017-12-23

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.