On 01/15/14 04:49, Albrecht Schlosser wrote:
> Interesting report, but I only took a quick glance at it. However, I
> can't see how all these FL_BEEP_* constants would have been removed
> (they are still in FL/fl_ask.H), and others I didn't check (yet).
> How did you generate the report? Did you set the ABI version number to
> enable ABI-breaking features? Then the report as-is would be worthless,
> wouldn't it? OTOH, if you did NOT set the ABI version number, then some
> of the errors/warnings might be worth to be checked - or they might be
> false alarms...
FLTK_ABI_VERSION commented out.. there'd be volumes if it was on.
The BEEP stuff could be false alarms, they're considered warnings
and not an issue with compatibility. I didn't investigate them,
not sure what it's about.
The Fl_Tree ones are correct though.
> Anyway, that would probably be a good tool to use. How difficult was it
> to download/install it? Any prerequisites (except perl, as mentioned
> already)?
Ha, well I did mention it was easy.. ;)
You make two short xml files that just point to the include
and lib dirs, and one command that refers to the two xmls..
so in my case:
abi-compliance-checker -lib fltk -old 1.3.2.xml -new 1.3.x.xml
..and that's it. See 'Usage' and 'Compare Libraries' sections
at the link:
http://ispras.linuxbase.org/index.php/ABI_compliance_checker
I didn't try the other variations such as creating & comparing
ABI dumps, portability checks, etc.
The link shows what the requirements are (see "System Requirements"),
For linux:
G++ (3.0-4.7, recommended 4.5 or newer)
GNU Binutils (readelf, c++filt, objdump)
Perl 5 (5.8 or newer)
Ctags (5.8 or newer)
For Mac OS, just Xcode and Ctags.
For Windows there's a few things, including MinGW and VS.
Their recommendation for ActiveState Perl is a good one;
it's the best perl for windows.. very good stuff.