aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-23 16:46:30 +0100
committerMax Kellermann <max@duempel.org>2015-01-23 16:50:31 +0100
commited5c6be2f1c3fa492b3642682dd2363dbc1027df (patch)
treee617ec404430fa3a8b2cc16a1784f15618c611d5 /src
parent30cb082932b39c78cebb47f3e03cc6c1f987098c (diff)
downloadmpd-ed5c6be2f1c3fa492b3642682dd2363dbc1027df.tar.gz
mpd-ed5c6be2f1c3fa492b3642682dd2363dbc1027df.tar.xz
mpd-ed5c6be2f1c3fa492b3642682dd2363dbc1027df.zip
util/list: disable gcc5 warning
This file has been removed in newer MPD versions, so don't care about it now.
Diffstat (limited to 'src')
-rw-r--r--src/util/list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/list.h b/src/util/list.h
index 73d99befa..c07565cb7 100644
--- a/src/util/list.h
+++ b/src/util/list.h
@@ -30,6 +30,10 @@
#pragma GCC diagnostic ignored "-Wlanguage-extension-token"
#endif
+#if defined(__GNUC__) && __GNUC__ >= 5
+#pragma GCC diagnostic ignored "-Winvalid-offsetof"
+#endif
+
/**
* container_of - cast a member of a structure out to the containing structure
* @ptr: the pointer to the member.