util/list: disable gcc5 warning

This file has been removed in newer MPD versions, so don't care about
it now.
This commit is contained in:
Max Kellermann 2015-01-23 16:46:30 +01:00
parent 30cb082932
commit ed5c6be2f1
1 changed files with 4 additions and 0 deletions

View File

@ -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.