Using: NRF52832, SD 132 6.1.1, SDK 15.3.0, Mesh SDK 3.1.0.
Hi, I included mesh_opt_core.h in a C++ file, and got compiler errors at NRF_MESH_STATIC_ASSERT().
I fixed this by defining NRF_MESH_STATIC_ASSERT as:
#define NRF_MESH_STATIC_ASSERT(cond) typedef char nrf_mesh_static_assert[(cond) ? 1 : -1]
since static_assert is already defined by C++.