According to cppreference GCC, Clang, and MSVC support c++14, so nothing stops us from switching.
I'm avid front runner, but I'm not 100% sure about the switch.
I mean Qt only lately switched to c++11 in Qt 5.7. KDE Frameworks still uses c++11. On the other hand, oldest supported GCC version is 5.4 and it's capable of c++14.
I wonder what will distros do. Wouldn't they ship KMM if we would have c++14 or would they compile it anyways with special compiler that supports c++14. On the other hand, if they provide so old software, would they be interested at all in our fresh KMM. If no, then I'm all in for switching to c++14.
Will MSVC compile c++14 code correctly with that check left untouched?
Have you seen this? According to that website GCC's an MSVC's capabilities for c++14 are equal, so how this comment be still valid?
I would be too, but on my stock openSUSE Leap 42.2 which I installed just a few weeks ago from scratch, I have
thb@thb-nb:~/bin$ g++ --version g++ (SUSE Linux) 4.8.5 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and using the proposed change does not work. Not sure if there is a newer version available and how I would install and not brake anything.
Maybe you need to set CMAKE_<LANG>_COMPILER to /usr/bin/g++-5 (or so).
Yes. MSVC does not know this switch, so it will generate a warning for every invocation (about the number of .cpp files we have). MSVC always compiles with all features it knows (which can be C++17 or any Microsoft specific addition).
This comment refers to CMake's compile features. They should make the compiler flag settings compiler (and compiler version) independent (note: the option -std=c++** works probably only for GCC and clang – and we can be happy that this are two compilers already).
I don't find these arguments particular convincing. Ubuntu 14.04 LTS is another popular distro people are using, which is also featuring GCC 4.8 (=> no C++14 support). People need to upgrade their compiler toolchain in case they want to compile your project. Every now and then I see people popping up in KDevelop who tell me that the KDevelop build is broken on Ubuntu 14.04 LTS b/c of various reasons -- easy to fix usually. So there's a couple of people indeed using that as a development platform to work on KDE projects. And I'd rather not lose them as potential contributors for my project. Just my 2c, I'm not involved in the KMyMoney project after all. /me hides again.
It's beyond my grasp. If Ubuntu 14.04 LTS sticks with old software, then why would they like to compile our new software. They stick with it not without a reason.
It seems too me that they wouldn't be interested in our development.
Besides KMM requires Qt 5.6 and they have only Qt 5.2 so they are already out of reach.