When gmmlib is compiled with media-driver, the compilar complians the code because of -Wpragma-pack-suspicious-include .
There are a couple of headers code that causes the compiler warning. For example,
gmmlib/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h:195:14: error: non-default #pragma pack value changes the alignment of struct or union members in the included file [-Werror,-Wpragma-pack-s
uspicious-include]
195 | #include "External/Linux/GmmResourceInfoLinExt.h"
| ^
gmmlib/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h:39:9: note: previous '#pragma pack' directive that modifies alignment is here
39 | #pragma pack(push, 8)