Migrate to C++14 / Gcc5
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -24,8 +24,8 @@ if(DOXYGEN_FOUND)
COMMENT "Generating API documentation with Doxygen" VERBATIM)
endif()
-# C++11 is required
-set(CMAKE_CXX_STANDARD 11)
+# C++14 is required
+set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

MODIFY
Makefile.am
Makefile.am
@@ -21,7 +21,7 @@ liblcf_la_CPPFLAGS = \
-I$(srcdir)/src \
-I$(srcdir)/src/generated
liblcf_la_CXXFLAGS = \
- -std=c++11 \
+ -std=c++14 \
$(AM_CXXFLAGS) \
$(EXPAT_CFLAGS) \
$(ICU_CFLAGS)
@@ -226,7 +226,7 @@ test_runner_CPPFLAGS = \
-I$(srcdir)/src \
-I$(srcdir)/src/generated
test_runner_CXXFLAGS = \
- -std=c++11 \
+ -std=c++14 \
$(EXPAT_CXXFLAGS) \
$(ICU_CXXFLAGS)
test_runner_LDADD = \

Migrate to C++14 / Gcc5