Skip to content

gtk-fortran 4.9.0

Latest

Choose a tag to compare

@vmagnin vmagnin released this 20 Nov 13:14
615c28d

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 function fdate() was renamed fmt_date() to avoid confusion with the GNU intrinsic subroutine.

Removed

  • In src/gtk-sup.f90: removed the f_c_string interface, which is an aliases of convert_f_string, because f_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 -pedantic were removed and also -Wtabs which is already implied by -Wall. And -pthread is already included into the GTK flags.

Fixed

  • cmake/DefaultFlags.cmake: the GNU ld -rdynamic option 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.