branch:
details: http://enblend.hg.sourceforge.net/hgweb/enblend/enblend/hg/p/enblend/code/rev/6cf2c54fe0bb
changeset: 1527:6cf2c54fe0bb
user: Chris <cs...@us...>
date: Mon Oct 21 13:57:28 2019 +0200
description:
Add some hints for the transition to C++17 to our README file.
diffstat:
README | 32 ++++++++++++++++++++++++++++++++
VERSION | 2 +-
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r c6b17c386f40 -r 6cf2c54fe0bb README
--- a/README Mon Oct 21 13:57:12 2019 +0200
+++ b/README Mon Oct 21 13:57:28 2019 +0200
@@ -50,6 +50,38 @@
Makefiles contain pattern rules.
+** Hints for the migration to C++17
+
+*** Compiler
+
+Some C++ compilers already default to the C++17 Standard, others may
+have to be put into a conforming mode of operation with, for example,
+ -std=gnu++17
+or
+ -std=c++17
+in CXXFLAGS.
+
+
+*** Little CMS2
+
+Depending on the specific C++ compiler and the particular version of
+the lcms2 library it may or may not be necessary to add
+ -DCMS_NO_REGISTER_KEYWORD
+to CPPFLAGS because in C++17 `register' is a deprecated and reserved
+keyword.
+
+Library lcms2 is a mandatory prerequisite for both Enblend and Enfuse.
+
+
+*** Exiv2
+
+A sufficiently recent Exiv2 library is required because C++17 has
+abandoned std::auto_ptr<>, which older versions of the library heavily
+rely on; newer versions use std::unique_ptr<>.
+
+Library exiv2 is optional (see `--with-exiv2').
+
+
** Tarball
./configure YOUR-OPTIONS-IF-ANY-GO-HERE
diff -r c6b17c386f40 -r 6cf2c54fe0bb VERSION
--- a/VERSION Mon Oct 21 13:57:12 2019 +0200
+++ b/VERSION Mon Oct 21 13:57:28 2019 +0200
@@ -1,1 +1,1 @@
-4.3-acca568fcdc3
+4.3-c6b17c386f40
|