Struct wsrep will not allow using wsrep namespace in C++ code:
test.cpp:6:1: error: ‘namespace wsrep { }’ redeclared as different kind of symbol
{
^
In file included from test.cpp:2:0:
wsrep_api.h:634:8: note: previous declaration ‘struct wsrep’
struct wsrep {
Rename struct wsrep to struct wsrep_st to allow using namespace wsrep.
Struct wsrep will not allow using wsrep namespace in C++ code:
Rename
struct wsrep
tostruct wsrep_st
to allow using namespace wsrep.