[Bug 2081717] [NEW] FTBFS with gcc-14

Launchpad Bug Tracker 2081717 at bugs.launchpad.net
Mon Sep 23 11:55:16 UTC 2024


You have been subscribed to a public bug by Paul Mars (upils):

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
-- 
FTBFS with gcc-14
https://bugs.launchpad.net/bugs/2081717
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list