diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-04-17 14:42:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-04-17 17:23:29 +0200 |
commit | 4d1bd3cba9b4c971c05974a2805b018ec8ba18e2 (patch) | |
tree | ca2fe545df09fd0dc56fe44db3d50ef61c427436 /config_host | |
parent | 396b5ce076145ccda46cbfdac82faaad899a4e9d (diff) |
HAVE_CPP_GUARANTEED_COPY_ELISION should always be true now
...since 24973523ba59087185d434396fd614e73d72107f "Bump Windows build baseline
to Visual Studio 2019 16.4", where that version of the compiler appears to no
longer have the issue that at least VS 2017 15.8.1 had. And according to
<view-source:https://en.cppreference.com/w/cpp/compiler_support>, the other
compilers support it since GCC 7 and Clang 4, so we should be OK there. But for
safety, leave the configure.ac check in for some longer.
Change-Id: I07bfaa554d897613c0887ab70e8df93f6e000410
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92422
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_global.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in index 3f9dded93882..951c2502ba9c 100644 --- a/config_host/config_global.h.in +++ b/config_host/config_global.h.in @@ -18,9 +18,6 @@ Any change in this header will cause a rebuild of almost everything. #define HAVE_GCC_DEPRECATED_MESSAGE 0 #define HAVE_SYSLOG_H 0 -/* Guaranteed copy elision (C++17), __cpp_guaranteed_copy_elision (C++2a): */ -#define HAVE_CPP_GUARANTEED_COPY_ELISION 0 - // Compiler supports all of C++2a <https://wg21.link/P0202R3> "Add Constexpr Modifiers to Functions // in <algorithm> and <utility> Headers", <https://wg21.link/P1004R2> "Making std::vector // constexpr", and <https://wg21.link/P1143R2> "Adding the constinit keyword": |