← Back to team overview

hugin-bug-hunters team mailing list archive

[Bug 2096612] Re: gcc-15 build error: conflicting types for ‘fcnPano’

 

I had a go at fixing this, but it looks like it will need extensive
changes and changes to hugin too.

A workaround is that gcc-15 builds ok with -std=gnu17 added to CFLAGS

-- 
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



References