fails with gcc14
perl-Tk does not build with gcc14.
Build log: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/perl-Tk/openSUSE_Factory/x86_64
https://build.opensuse.org/projects/home:pgajdos/packages/perl-Tk/files/perl-Tk-gcc14.patch
This fixes the build for me, however I am not fully confident with it.
With gcc13, you get warnings.
@eserte There's fix PRs available for all of the modern compiler issues which distros are all individually pulling in. Would it be possible to cut a new release with them in? Thanks.
For the record, I needed the patch attached to https://bugzilla.opensuse.org/show_bug.cgi?id=1225909#c1 to make openSUSE perl-tk build without -fpermissive with GCC 14. In the end, I decided to use only the configuration options of the patch (mainly because apparently the configuration mechanism was not passing the option to GCC when compiling its snippets and so they are necessary) and rely on -fpermissive for the rest in order not to introduce too much divergence from upstream.