summaryrefslogtreecommitdiff
path: root/config_host/config_global.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config_host/config_global.h.in')
-rw-r--r--config_host/config_global.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 9b1b12a97c63..31f64e6ed54d 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -23,5 +23,9 @@ Any change in this header will cause a rebuild of almost everything.
#define HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE 0
#define HAVE_THREADSAFE_STATICS 0
#define HAVE_SYSLOG_H 0
+/* Compiler supports __attribute__((warn_unused)). */
+#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED 0
+/* C++ library uses __attribute__((warn_unused)) for basic types like std::string. */
+#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL 0
#endif