summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-12-07 00:19:34 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2018-01-18 19:33:52 +0100
commit63860c399b11b09c06e8df284c3d32b336d5e42c (patch)
tree3522d1e36165f182b1a9e06732dc545a5e9bf685
parent3486d0842131533c987e91b2da432266007d5b08 (diff)
enable c++17 for android again after boost auto_ptr has a workaround
see 90d2155912bcee40377620d4836726041a72d537 for boost fix and see effe6b3d84302afce3d5095e4f376e7e3bf669e0 for bridges fix for mac Change-Id: Ic6209ce0927dafd39763ef0b2fabbcaa7abf743f Reviewed-on: https://gerrit.libreoffice.org/46002 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/share.hxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_intel/share.hxx2
-rw-r--r--distro-configs/LibreOfficeAndroid.conf1
-rw-r--r--distro-configs/LibreOfficeAndroidX86.conf1
4 files changed, 2 insertions, 4 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx b/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
index 62e0feece40b..3c3b46bfd6eb 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/share.hxx
@@ -67,7 +67,7 @@ namespace __cxxabiv1 {
std::type_info *exceptionType;
void (*exceptionDestructor)(void *);
- std::unexpected_handler unexpectedHandler;
+ void (*unexpectedHandler)(); // std::unexpected_handler dropped from C++17
std::terminate_handler terminateHandler;
__cxa_exception *nextException;
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx b/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
index 7b0743eec32c..307f12a8a922 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
@@ -45,7 +45,7 @@ struct __cxa_exception
std::type_info *exceptionType;
void (*exceptionDestructor)(void *);
- std::unexpected_handler unexpectedHandler;
+ void (*unexpectedHandler)(); // std::unexpected_handler dropped from C++17
std::terminate_handler terminateHandler;
__cxa_exception *nextException;
diff --git a/distro-configs/LibreOfficeAndroid.conf b/distro-configs/LibreOfficeAndroid.conf
index 2e6d4e6382a9..9cc574909d66 100644
--- a/distro-configs/LibreOfficeAndroid.conf
+++ b/distro-configs/LibreOfficeAndroid.conf
@@ -8,5 +8,4 @@
--without-export-validation
--without-helppack-integration
--without-junit
---disable-c++17
--disable-largefile
diff --git a/distro-configs/LibreOfficeAndroidX86.conf b/distro-configs/LibreOfficeAndroidX86.conf
index 4e25bc58b0bd..7a2586989391 100644
--- a/distro-configs/LibreOfficeAndroidX86.conf
+++ b/distro-configs/LibreOfficeAndroidX86.conf
@@ -8,5 +8,4 @@
--without-export-validation
--without-helppack-integration
--without-junit
---disable-c++17
--disable-largefile