Re: [PATCH 6/6] build: limit scope of packed member warning disabling

2024-10-19 Thread Stephen Hemminger
On Thu, 17 Oct 2024 15:22:13 +0100 Bruce Richardson wrote: > The flag '-Wno-address-of-packed-member' is a global warning flag in > DPDK. Rather than disabling this warning globally, it is better to just > have it enabled for components that may need it. This patch limits the > scope of it in the

[PATCH 6/6] build: limit scope of packed member warning disabling

2024-10-17 Thread Bruce Richardson
The flag '-Wno-address-of-packed-member' is a global warning flag in DPDK. Rather than disabling this warning globally, it is better to just have it enabled for components that may need it. This patch limits the scope of it in the following ways: * limit the use of the flag to the drivers subfolde