How about the attached patch? I've only been testing with clang-20 where the error you're getting is a warning. There, the problem is fixed, and works with hugin without any changes in hugin.
** Patch added: "ftnPtrSig.patch" https://bugs.launchpad.net/panotools/+bug/2096612/+attachment/5867170/+files/ftnPtrSig.patch -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Panotools. https://bugs.launchpad.net/bugs/2096612 Title: gcc-15 build error: conflicting types for ‘fcnPano’ Status in Panotools: New Bug description: I'm seeing this error building on fedora rawhide with gcc-15.0.1: ``` cd /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/redhat-linux-build/man && /usr/bin/pod2man "--center=LIBPANO13 TOOLS" "--release=Version: 2.9.22" /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/man/PTblender.pod /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/redhat-linux-build/man/PTblender.1 /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/adjust.c:2448:5: error: conflicting types for ‘fcnPano’; have ‘int(int, int, double *, double *, int *)’ 2448 | int fcnPano(int m, int n, double x[], double fvec[], int *iflag) | ^~~~~~~ In file included from /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/adjust.c:42: /builddir/build/BUILD/libpano13-2.9.22-build/libpano13-2.9.22/filter.h:785:33: note: previous declaration of ‘fcnPano’ with type ‘int(void)’ 785 | PANO13_IMPEX int fcnPano(); | ^~~~~~~ ``` To manage notifications about this bug go to: https://bugs.launchpad.net/panotools/+bug/2096612/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-bug-hunters Post to : [email protected] Unsubscribe : https://launchpad.net/~hugin-bug-hunters More help : https://help.launchpad.net/ListHelp

