issue: #440936 make 'for_next' branch c++ compatible - step #8
(handle: benchmarks, examples, regression, tests)
(also add -Wc++-compat to makefile thru configure.ac)

Change-Id: Id30bb1b9b500142c460559fba52865d9fe059ea0
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>