[ovs-dev] [PATCH 1/3] clang: Fix segfault in unit tests.

2013-07-22 Thread Alex Wang
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 ---

Re: [ovs-dev] [PATCH 1/3] clang: Fix segfault in unit tests.

2013-07-22 Thread Ben Pfaff
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