Public bug reported:

discount FTBFS with gcc-14


make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wno-return-type -Wno-implicit-int -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g 
-O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/discount-2.2.7-2build1 -fPIC -c 
main.c
main.c: In function ‘main’:
main.c:311:36: error: passing argument 2 of ‘mkd_e_code_format’ from 
incompatible pointer type [-Wincompatible-pointer-types]
  311 |             mkd_e_code_format(doc, external_codefmt);
      |                                    ^~~~~~~~~~~~~~~~
      |                                    |
      |                                    char * (*)(char *, int,  char *)
In file included from main.c:12:
./mkdio.h:71:31: note: expected ‘mkd_callback_t’ {aka ‘char * (*)(const char *, 
const int,  void *)’} but argument is of type ‘char * (*)(char *, int,  char *)’
   71 | void mkd_e_code_format(void*, mkd_callback_t);
      |                               ^~~~~~~~~~~~~~
make[1]: *** [Makefile:128: main.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned 
exit code 2

** Affects: discount (Ubuntu)
     Importance: Undecided
     Assignee: Paul Mars (upils)
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081717

Title:
  FTBFS with gcc-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/discount/+bug/2081717/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to