hdastwb wrote:I have been using ranged-for, auto, and lambdas in my code for the last year or so; many of the most prominent features are already implemented in VC++11, GCC 4.6, and newer clangs.
There should be absolutely no issue with using these features in any Linux distro that comes along with a working package manager; if you guys still do the Windows builds in VC++06 or something, then there might be cause to wait on upgrading.
PilzAdam wrote:hdastwb wrote:I have been using ranged-for, auto, and lambdas in my code for the last year or so; many of the most prominent features are already implemented in VC++11, GCC 4.6, and newer clangs.
There should be absolutely no issue with using these features in any Linux distro that comes along with a working package manager; if you guys still do the Windows builds in VC++06 or something, then there might be cause to wait on upgrading.
Also MinGW should be supported.
And the packages for the compiler should be in Debian stable.
#if __cplusplus > 199711L
auto v = "C++11";
#else
string v = "C++03";
#endif
cout << v << endl;
jin_xi wrote:http://irc.minetest.ru/minetest-dev/2014-12-23#i_4075355
gregorycu wrote:I really cannot think of any legitimate reason NOT to use the new standard. While we may be decreasing the number of people who may be able to compile Minetest themselves, I don't think it's a percentage that is even worth worrying about. The new standards may be outside the understanding of some developers, but it should be a slow introduction with the most important features.
What do people think?
and, to be honest, your suggestion that core developers cannot understand the new standard is nothing short of offensive
hdastwb wrote:You haven't found the github discussion on this yet, have you?
https://github.com/minetest/minetest/pull/596#issuecomment-15932423
I really doubt they'll ever upgrade, since they seem to have some rather strong opinions on the subject. However, Freeminer has been using C++11 for a while now:
http://freeminer.org/
rubenwardy wrote:Freeminer has potential because it uses C++11? What low standards.
I'm for it as long as less than 5 in 1000 users are lost through no compiler support.
celeron55 wrote:End result: Probably at Debian 8 release.
Zeno wrote:The upgrade to C++11 should occur when all supported OSs and compilers support C++11. This is not the case at the moment. We should (and will?) support all LTS Linux versions.
I~=Spam wrote:Zeno wrote:C++11 is no longer "beta" in gcc. Again research your facts please. I doubt you have even been keeping watch because if you have even checked the status in the last year you would find out just how wrong you are.
Zeno wrote:I~=Spam wrote:Zeno wrote:C++11 is no longer "beta" in gcc. Again research your facts please. I doubt you have even been keeping watch because if you have even checked the status in the last year you would find out just how wrong you are.
I am well aware of what gcc supports and doesn't support. Have you ever tried updating gcc and glibc on an existing LTS repo? (I.e. manually, because the package won't be in the update lists). When you've done that, let me know how you went.
philipbenr wrote:I think not until 0.6 series. This give plenty of time to look for other solutions.
Users browsing this forum: No registered users and 1 guest