[dpdk-dev] [PATCH] hash: validate hash bucket entries while compiling

Thomas Monjalon thomas at monjalon.net
Fri Jul 13 23:40:09 CEST 2018


13/07/2018 22:20, Honnappa Nagarahalli:
> Hi Pablo,
> Thank you for your response. I recently noticed this macro 'RTE_BUILD_BUG_ON'. Does it make sense to use this macro instead (though the error message will be more cryptic)?

Yes, I've hesitated to suggest RTE_BUILD_BUG_ON,
but decided to push your #error solution which should be fine.





More information about the dev mailing list