Project

General

Profile

Feature #3076

Updated by Davide Pesavento over 6 years ago

GCC 6 will [change the default C++ dialect](https://gcc.gnu.org/gcc-6/changes.html) from `-std=gnu++98` to `-std=gnu++14`. 

 We should start adding C++14 support to ndn-cxx and dependent projects, although I recommend we use `-std=c++14` to prevent using non-portable GNU extensions. 

 Most The first step would be making sure that our code builds in C++14 mode. Unfortunately most language features were [added either in gcc-4.9 or gcc-5](https://gcc.gnu.org/projects/cxx-status.html#cxx14), gcc-5](https://gcc.gnu.org/projects/cxx1y.html), so we will not be able to use them unconditionally only after we drop support for Ubuntu 14.04, which can happen after Ubuntu 18.04 is released in April 2018. a while.

Back