In `libvlc_version.h` there is a comment:
Code: Select all
/* ... This file defines version macros for LibVLC.
* Those macros are primilarly intended for conditional (pre)compilation.
* To get the run-time LibVLC version, use libvlc_get_version() instead
* (the run-time version may be more recent than build-time one, thanks to
* backward binary compatibility).
Is there some way to know when "backward binary compatibility" might not be maintained, say by looking at the major or minor version numbers?
I'd like to compare the compile values with the run-time values and issue a warning if there is a mismatch but backward binary compatibility is guaranteed and an error if it isn't.
Thanks,
Adi