Commit ed5c6be2 authored by Max Kellermann's avatar Max Kellermann

util/list: disable gcc5 warning

This file has been removed in newer MPD versions, so don't care about it now.
parent 30cb0829
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment