I am using Opensplice library in my project and everything is working with gcc4. I am would like to compile my project with gcc11 but I get a lot of the same errors in the Opensplice section. For example:
implicitly-declared ‘dds::core::status::SampleRejectedState& dds::core::status::SampleRejectedState::operator=(const dds::core::status::SampleRejectedState&)’ is deprecated
I know that we should define both the assignment operator and copy constructor or neither of them in gcc11. But, how can I fix this issue for Opensplice? Can I build Opensplice again with gcc11 or I should do something else?