switch to C++14 compilation

* configure.ac: Compile in C++14 by default and rename
--enable-c++14 as c++17.
* doc/org/compile.org, doc/org/concepts.org, doc/org/index.org,
doc/org/install.org, doc/org/tut.org, doc/org/upgrade2.org, HACKING,
NEWS, README: Adjust all mentions of C++11.
* spot/twaalgos/stats.hh: Use std::make_unique.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-22 11:25:57 +02:00
parent 7f42782701
commit f5dce597c6
11 changed files with 71 additions and 105 deletions

14
HACKING
View file

@ -28,7 +28,7 @@ since the generated files they produce are distributed.)
GNU Bison >= 3.0
GNU Emacs (preferably >= 24 but it may work with older versions)
Groff (a.k.a. GNU troff) >= 1.20
SWIG >= 3.0 (for its better C++11 support)
SWIG >= 3.0 (for its better C++11/C++14 support)
Doxygen >= 1.4.0
Perl, with its Gettext module (it might be called something like
liblocale-gettext-perl or p5-locale-gettext in your distribution)
@ -300,16 +300,14 @@ forget guards, and we do not forget to rename them when a file is
copied into another one.
C++11
C++14
-----
Spot uses some C++11 features, and therefore requires a C++11
compiler. The code relies on features that are not available in
version of g++ older than 4.8, so this is our minimum requirement
for now. Avoid features that require 4.9.
Spot uses some C++14 features, and therefore requires a C++14
compiler. g++ 5.x or clang++ 3.4 should be enough.
Reasonably recent versions of clang should work as well. Our
build farm has clang++ 3.5.
We currently avoid C++17 features until C++17 compiler are widely
available.
Encoding
--------