Hi @k-launchpad-downhill-at-eu-org ,
that's a similar but unrelated issue, but I had that fixed locally already :) 
Patch is attached.

@tmodes, could we get this second patch merged without a new thread?

cheers, lukas wirz

** Patch added: "math_decl.patch"
   
https://bugs.launchpad.net/panotools/+bug/2096612/+attachment/5891534/+files/math_decl.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:
  Fix Committed

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

Reply via email to