On 31/12/2020 14:29, Christoph Berg wrote:
Re: Black Michael via wsjt-devel
Seems we had a problem on Linux WSJT-X builds as they are using the hamlib
shared library instead of static build.I've already recommended they switch to
static.
The problem crept up where one version of hamlib worked but another was getting the
wrong value for rig->caps->vfo_list since the caps structure had changed.
Hamlib needs a SONAME bump each time any user-visible data structures
or functions change or disappear.
Christoph
Christoph,
that's a really bad solution to this issue given the frequency of Hamlib
releases. It would be far better to remove any declarations like structs
from the public API so that nothing depends on offsets of fields being
constant between releases. Your suggestion would make many minor
releases breaking API changes when that's not really necessary. And yes
I do understand that current situation is already broken in that respect.
73
Bill
G4WJS.
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel