It seems that 'clang' compiler applies strict protection on pointer
dereference. And it causes unexpected execution in macro functions
like "HMAP_FOR_EACH()" and unit test failures. This commit fixes
this issue and pass all unit tests.
Co-authored-by: Ethan Jackson
Signed-off-by: Alex Wang
---
On Mon, Jul 22, 2013 at 09:19:56AM -0700, Alex Wang wrote:
> It seems that 'clang' compiler applies strict protection on pointer
> dereference. And it causes unexpected execution in macro functions
> like "HMAP_FOR_EACH()" and unit test failures. This commit fixes
> this issue and pass all unit tes