Hi there,
including the include/ndds/hpp/dds/sub/status/DataState.hpp header I got an error on line 404 because the method definition is invalid.
In fact the method is defined as:
const void sample_state(const SampleState& sample_state)
but the const keyword is misplaced.
I'm using RTI_Connext_DDS 5.2.0 with binding for C++ 2011 on ubuntu 12.04 with g++ 4.6.3.
best regards
Massimo
Hi Massimo,
Thanks for reporting the problem. This is indeed an error (likely a typo in the OMG standard header), but it shouldn't have caused a compilation error. Are you using any additional flags to increase the warning level and to treat warnings as errors?
In any case, this will be fixed in the next release.
Alex