version checking generated code vs library
A possible source of bugs is running code generated for one version with a library for another. This causes signatures to be sent using one coding and actual messages with another.
Add some kind of check for this.
For Java etc: possibly add a (wrapped) version parameter for register methods (and info for what version it was generated for) in generated samples. Or is it possible to use annotations to perform the check?
For C: the above using macros or doing some check against a symbol in the lib?
Update: is this really a problem now that the version is included in all library names/symbols?