From a061abd3949f933e93c84f9f67f0700055a054f7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 7 Dec 2018 12:04:53 +0100 Subject: HAVE_CPP_ATTRIBUTE_NODISCARD is always true now ...but for safety, leave the configure.ac check in for some longer. Also, save removing now-redundant SAL_WARN_UNUSED_RESULT in internal code for a follow-up commit. Change-Id: Ibe30b51c5cc4abc270f955c7c40b59f268986672 Reviewed-on: https://gerrit.libreoffice.org/64771 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- config_host/config_global.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'config_host') diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in index 8c0be58faba7..2e986fbe24b6 100644 --- a/config_host/config_global.h.in +++ b/config_host/config_global.h.in @@ -21,9 +21,6 @@ Any change in this header will cause a rebuild of almost everything. /* Compiler supports __attribute__((warn_unused)). */ #define HAVE_GCC_ATTRIBUTE_WARN_UNUSED 0 -/* [[nodiscard]] (C++17), __has_cpp_attribute(nodiscard) (C++2a): */ -#define HAVE_CPP_ATTRIBUTE_NODISCARD 0 - /* Guaranteed copy elision (C++17), __cpp_guaranteed_copy_elision (C++2a): */ #define HAVE_CPP_GUARANTEED_COPY_ELISION 0 -- cgit