Re: [dpdk-dev] [PATCH v2] mk: suppress error for reference of packed members

2017-01-25 Thread Emmanuel Roullit
Hi Thomas, Thanks for the hints. I will improve the patch and resubmit. Comments are present inline. Regards, - Emmanuel On Wed, Jan 25, 2017 at 11:08 AM, Thomas Monjalon wrote: > 2017-01-24 22:04, Emmanuel Roullit: > > Found with clang build: > > error: taking address of packed member 'mlock

Re: [dpdk-dev] [PATCH v2] mk: suppress error for reference of packed members

2017-01-25 Thread Thomas Monjalon
2017-01-24 22:04, Emmanuel Roullit: > Found with clang build: > error: taking address of packed member 'mlock' of class or structure > 'rte_mem_config' may result in an unaligned pointer value > [-Werror,-Waddress-of-packed-member] > > Fixes: 29361d4c91ed ("mk: fix build with clang < 3.5") > Fixes

[dpdk-dev] [PATCH v2] mk: suppress error for reference of packed members

2017-01-24 Thread Emmanuel Roullit
Found with clang build: error: taking address of packed member 'mlock' of class or structure 'rte_mem_config' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] Fixes: 29361d4c91ed ("mk: fix build with clang < 3.5") Fixes: b2bb3a5daaac ("mk: stop on warning only in devel