Menu

cppcheck source using C++ 11?

2015-08-11
2015-08-12
  • Scott Coulter

    Scott Coulter - 2015-08-11

    I noticed when I pulled the latest cppcheck source that you've got
    at least a few files that are using C++ 11 features now.

    Just wondering if this is a definite design decision to go forward with
    requiring C++ 11 compatibility?

    I ask because my main use of cppcheck has been on an Oracle (Redhat)
    Linux 6 system which needs to stay on GCC 4.4 for now. If you're going forward
    with only supporting the newer standard, I can understand that, and I'll just have
    to stick with an older cppcheck build on that system.

    And I'll take this chance to say that I love cppcheck and run it as part of my
    nightly build process. Thanks for all your work, and the continuous improvements!

    --sdc

     
  • Alexander Mai

    Alexander Mai - 2015-08-11

    Some C++11 features are being used already and slowly more will be required in future.
    See https://github.com/danmar/cppcheck/blob/master/readme.md for more details.

    Unless you manage to produce/acquire binaries for your system from a 3rd party you might consider setting up an additional compiler. Maybe use a disctinct account to avoid messing up the whole system?

     
  • Daniel Marjamäki

    Just wondering if this is a definite design decision to go forward with
    requiring C++ 11 compatibility?

    Yes. Imho it is. We will gradually introduce C++11. We take it slowly because we know there are people that use old platforms.

    I ask because my main use of cppcheck has been on an Oracle (Redhat)
    Linux 6 system which needs to stay on GCC 4.4 for now. If you're going forward
    with only supporting the newer standard, I can understand that, and I'll just have
    to stick with an older cppcheck build on that system.

    very interesting. I am very interested to know what compilers users are using. we can't wait for everybody to upgrade their compiler but I do hope that the vast majority will always be able to compile cppcheck. I assume you will upgrade sooner or later. any idea when you might have a decent c++11 compiler?

    And I'll take this chance to say that I love cppcheck and run it as part of my
    nightly build process. Thanks for all your work, and the continuous improvements!

    I appreciate it! :-)

     

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.