In file included from ./ns3/test.h:24:0,
                 from ../src/spectrum/test/tv-helper-distribution-test.cc:23:
/usr/include/c++/7/sstream:300:7: error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
       struct __xfer_bufptrs 

I'm getting the error above when trying to compile the aomdv module on ns3, can someone help me to solve it?

The original code can be found here: https://github.com/karthiks1995/aomdv-ns3/tree/master/ns-3.24. I just changed the compilation flags because warnings were being treated as errors in the original one.

0 Answers