summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-31 16:13:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-31 20:14:40 +0200
commitd9998186d37c58751f45dd7cb97d6c72f901a346 (patch)
tree01e31bd159062beaecc62edfc01b77220f87d7a1 /config_host
parentb5f081e1ac14f60497f62a27be86b07b0baa42f7 (diff)
GCC only supports inline variables since GCC 7
(see also discussion at <https://gerrit.libreoffice.org/#/c/59204/11> "new loplugin:conststringfield" about its changes to registry/source/regimpl.cxx) Change-Id: Id2743adbfeb4d7c42105a65ba8400d7051da2f03 Reviewed-on: https://gerrit.libreoffice.org/59873 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_global.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 2a681264992b..d40630ab99c3 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -26,6 +26,9 @@ Any change in this header will cause a rebuild of almost everything.
/* Guaranteed copy elision (C++17), __cpp_guaranteed_copy_elision (C++2a): */
#define HAVE_CPP_GUARANTEED_COPY_ELISION 0
+/* Inline variables (C++17), __cpp_inline_variables (C++2a): */
+#define HAVE_CPP_INLINE_VARIABLES 0
+
/* Fix for <http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579> "Return by converting
move constructor": */
#define HAVE_CXX_CWG1579_FIX 0