This release offers interfaces to GTK 4.20 and GLib 2.86 (generated under Fedora 43 with GTK 4.20.2 and GLib 2.86.1).
Added
- In
CMakeLists.txt:- support for Flang and LFortran. Their unsupported flags are filtered. Note however that LFortran 0.56 alpha is not yet ready to compile gtk-fortran.
- A few errors (issue #300) and warnings detected by Flang 20.1.3 were fixed. Flang now compiles entirely gtk-fortran (last tested with Flang 21.1.5).
- Improved messages (linker version, compilation flags, GTK and PLplot dirs, installation dirs...).
- In
src/alt_build_test.sh: support for Flang and LFortran (when it will be ready to compile gtk-fortran). And messages were improved.
Changed
src/gtk-sup.f90: the functionfdate()was renamedfmt_date()to avoid confusion with the GNU intrinsic subroutine.
Removed
- In
src/gtk-sup.f90: removed thef_c_stringinterface, which is an aliases ofconvert_f_string, becausef_c_string()is now also a function defined in the Fortran 2023 standard. See Issue #294 and PR #295. - In
cmake/DefaultFlags.cmake: the GFortran flags were reviewed and simplified. In DEBUG mode,-std=f2008 -pedanticwere removed and also-Wtabswhich is already implied by-Wall. And-pthreadis already included into the GTK flags.
Fixed
cmake/DefaultFlags.cmake: the GNU ld-rdynamicoption is now passed to all Fortran compilers in UNIX-like systems. Fixes the Issue #236: "With Intel ifort/ifx, gtkbuilder, gtkbuilder2 and gtkf-sketcher could not open gtkbuilder.glade".- gtk-fortran can now be used as an external library via CMake FetchContent. Fixes the Issue #301 related to the current binary and source dirs.