danielmarjamaki wrote:I believe the biggest problem is that C++11 is not widely supported yet.
danielmarjamaki wrote:If we want to write code for the next decade then we better not reject C++11
danielmarjamaki wrote:If you compile Cppcheck with an old compiler then you won't get all features.
For me it would be ok to start using C++11 for optional features.
forget all the crossplatform, Windows support etc.
Currently we are using very compatible C++ without any special tricks so Cppcheck just builds almost everywhere without problems.
What versions of compilers would distributors use? How you explain users that in their fedora there are less errors found than in ubuntu?
Elfring wrote: Which features do you classify as optional for the tool "Cppcheck"? Which new features do you dare to begin with from the fresh "C++11"?
danielmarjamaki wrote:Isn't this similar: In some distributions people can't use rules.
danielmarjamaki wrote:If you want feature X then compile cppcheck using the CPP11=yes flag. If your compiler doesn't support the needed C++11 features then you can download the Y compiler or wait until your compiler supports C++11.
Regarding threads, there is an alternative that is better right now: tinythread. But in the long run I think that it's better to use C++11 threads.
Users browsing this forum: No registered users and 1 guest