← Back to team overview

hugin-bug-hunters team mailing list archive

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

 

Public bug reported:

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();
      |                                 ^~~~~~~
```

** Affects: panotools
     Importance: Undecided
         Status: New

** Attachment added: "libpano13-build.log"
   https://bugs.launchpad.net/bugs/2096612/+attachment/5853615/+files/libpano13-build.log

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



Follow ups