|
|
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 // compile with `fltk-config --compile abi-version.cxx'
#include <stdio.h>
#include <FL/Fl.H>
int main(int argc, char **argv) {
printf("FL_API_VERSION = %d\n", FL_API_VERSION);
printf("FL_ABI_VERSION = %d\n", FL_ABI_VERSION);
printf("FLTK_ABI_VERSION = %d\n", FLTK_ABI_VERSION);
return 0;
}
[ Direct Link to Message ] | |
|
| |