I guessed that `rig_get_conf2` would work.
This at least compiles.
# C++ obsolete interprocedural interfaces
I guessed that `rig_get_conf2` would work.
This at least compiles.
```
diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp
...
@@ -320,7 +322,7 @@ QByteArray HamlibTransceiver::impl::get_conf (char const * item)
QByteArray value {128, '\0'};
if (RIG_CONF_END != token) // only get if valid for rig model
{
- error_check (rig_get_conf (rig_.data (), token, value.data ()), tr ("getting a configuration item"));
+ error_check (rig_get_conf2 (rig_.data (), token, value.data (), value.length ()), tr ("getting a configuration item"));
}
return value;
```
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel