Re: [MOD] STR #3531: abi-version.h not created/changed by ./configure
Albrecht Schlosser
Nov 12, 2019
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: https://www.fltk.org/str.php?L3531
Version: 1.3.5
Fix Version: None
Short version: thanks for the report, but I don't think that this is
correct.
First of all, FLTK_ABI_VERSION is deprecated but still defined in
FL/Enumerations.H. It should always be equal to FL_ABI_VERSION which you
should use since 1.3.4/1.3.5 and later.
The posted abi-version.h file is correct and intentional if you don't
specify an ABI version with configure. Again, there is code in
FL/Enumerations.H that defines FL_API_VERSION, FL_ABI_VERSION, and
FLTK_ABI_VERSION for backwards compatibility.
Note: do not include FL/abi-version.h directly in your code. You must
include FL/Fl.H which will include FL/Enumerations.H and FL/abi-version.h
indirectly. This is documented here:
https://www.fltk.org/doc-1.3/basics.html#basics_writing
Please see also README.abi-version.txt and attached small demo program
abi-version.cxx.
Link: https://www.fltk.org/str.php?L3531
Version: 1.3.5
Fix Version: None
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.