According to https://gcc.gnu.org/projects/cxx-status.html some C++11 features were supported as far back as 4.3 (March 2008), but the first version of GCC with complete C++11 support was 4.8.1 (May 2013). It would be nice to mention in CFTF's Readme that "your current toolchain" means gcc 4.8.1+ if that's what it means.
For reference, that's:
- Debian GNU/Linux version 8 (Jessie) or above,
- Ubuntu 14.04 LTS or above,
- Red Hat Enterprise Linux 7 / CentOS 7 or above.
And according to https://clang.llvm.org/cxx_status.html Clang 3.3 or later is required for C++11, which means Xcode 4.4 or above on Mac OS 10.7 Lion or above.
Backward transpiling could be very useful indeed for developers who want to distribute their software in source form and have it compilable on other people's old machines. I've lost track of the number of times I've said to myself "no, let's not use this new language feature because it'll mean I won't be able to distribute my source code to anyone who's stuck on non-upgradeable old hardware and can't install a new compiler". So it's nice to know the baseline requirements for building one's code. Thanks.
According to https://gcc.gnu.org/projects/cxx-status.html some C++11 features were supported as far back as 4.3 (March 2008), but the first version of GCC with complete C++11 support was 4.8.1 (May 2013). It would be nice to mention in CFTF's Readme that "your current toolchain" means gcc 4.8.1+ if that's what it means.
For reference, that's:
And according to https://clang.llvm.org/cxx_status.html Clang 3.3 or later is required for C++11, which means Xcode 4.4 or above on Mac OS 10.7 Lion or above.
Backward transpiling could be very useful indeed for developers who want to distribute their software in source form and have it compilable on other people's old machines. I've lost track of the number of times I've said to myself "no, let's not use this new language feature because it'll mean I won't be able to distribute my source code to anyone who's stuck on non-upgradeable old hardware and can't install a new compiler". So it's nice to know the baseline requirements for building one's code. Thanks.