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"
|
#pragma GCC diagnostic ignored "-Wlanguage-extension-token"
|
||||||
#endif
|
#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
|
* container_of - cast a member of a structure out to the containing structure
|
||||||
* @ptr: the pointer to the member.
|
* @ptr: the pointer to the member.
|
||||||
|
Loading…
Reference in New Issue
Block a user