If compiling the trdp stack with disabled SOA_SUPPORT, tau_so_if.c (line 44- 53) generates a warning. This warning shall only appear when the SOA_SUPPORT is enabled.
Currrently:
#ifndef SOA_SUPPORT
#if (defined WIN32 || defined WIN64)
#pragma WARNING("The service-oriented API and utility functions are preliminary and definitely not final! Use at your own risk!")
#pragma WARNING("Set compiler option SOA_SUPPORT=1 to enable serviceId filtering in libtrdp.")
#else
#warning \
"The service-oriented API and utility functions are preliminary and definitely not final! Use at your own risk!"
#warning "Set compiler option SOA_SUPPORT=1 to enable serviceId filtering in libtrdp."
#endif
#endif
Suggested fix:
#ifdef SOA_SUPPORT
#if (defined WIN32 || defined WIN64)
#pragma WARNING("The service-oriented API and utility functions are preliminary and definitely not final! Use at your own risk!")
#pragma WARNING("Set compiler option SOA_SUPPORT=0 to disable serviceId filtering in libtrdp.")
#else
#warning \
"The service-oriented API and utility functions are preliminary and definitely not final! Use at your own risk!"
#warning "Set compiler option SOA_SUPPORT=0 to disable serviceId filtering in libtrdp."
#endif
#endif
Please reject this issue. The warning is correct...