Bump C++ version to c++14

This is a provisional bump.  If supported platforms
(http://kicad-pcb.org/help/system-requirements/#_specific_system_requirements)
experience issues with this version we will revert back to c++11.

No code that requires c++14 will be committed yet.
This commit is contained in:
Seth Hillbrand 2019-07-10 20:00:33 -07:00
parent 7159f6e48a
commit 044b4a6d4c
2 changed files with 3 additions and 2 deletions

View File

@ -140,8 +140,8 @@ set( CMAKE_VISIBILITY_INLINES_HIDDEN ON )
# Global setting: build everything position independent # Global setting: build everything position independent
set( CMAKE_POSITION_INDEPENDENT_CODE ON ) set( CMAKE_POSITION_INDEPENDENT_CODE ON )
# Global setting: Use C++11 # Global setting: Use C++14
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)

View File

@ -63,6 +63,7 @@ Some compilers have bugs or limitations to C++ standard support.
Current versions: Current versions:
* Debian Stretch: [6.3.0](https://packages.debian.org/stretch/gcc) * Debian Stretch: [6.3.0](https://packages.debian.org/stretch/gcc)
* Debian Buster: [8.3.0](https://packages.debian.org/buster/gcc)
* Ubuntu 14.04: [4.8.2](https://packages.ubuntu.com/trusty/gcc) * Ubuntu 14.04: [4.8.2](https://packages.ubuntu.com/trusty/gcc)
* Ubuntu 16.04: [5.3.1](https://packages.ubuntu.com/xenial/gcc) * Ubuntu 16.04: [5.3.1](https://packages.ubuntu.com/xenial/gcc)
* Ubuntu 18.04: [7.3.0](https://packages.ubuntu.com/bionic/gcc) * Ubuntu 18.04: [7.3.0](https://packages.ubuntu.com/bionic/gcc)