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:
parent
30cb082932
commit
ed5c6be2f1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue