/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:188:13:
error: passing argument 1 of 'longjmp' from incompatible pointer type
[-Wincompatible-pointer-types]
188 | longjmp(&load_error_buf, 1);
| ^~~~~~~~~~~~~~~
| |
| struct __jmp_buf (*)[1]
In file included from
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:9:
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/include/setjmp.h:21:29:
note: expected 'struct __jmp_buf *' but argument is of type 'struct __jmp_buf
(*)[1]'
21 | __extern __noreturn longjmp(jmp_buf, int);
| ^~~~~~~
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c: In
function 'build_gdt':
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:906:82:
warning: taking address of packed member of 'struct dt_desc' may result in an
unaligned pointer value [-Waddress-of-packed-member]
906 | status = emalloc(gdt.limit, __SIZEOF_POINTER__ ,
(EFI_PHYSICAL_ADDRESS *)&gdt.base);
|
^~~~~~~~~
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c: In
function 'efi_main':
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/efi/main.c:1386:21:
error: passing argument 1 of 'setjmp' from incompatible pointer type
[-Wincompatible-pointer-types]
1386 | if (!setjmp(&load_error_buf))
| ^~~~~~~~~~~~~~~
| |
| struct __jmp_buf (*)[1]
/build/syslinux-OcRv51/syslinux-6.04~git20190206.bf6db5b4+dfsg1/com32/include/setjmp.h:20:21:
note: expected 'struct __jmp_buf *' but argument is of type 'struct __jmp_buf
(*)[1]'
20 | __extern int setjmp(jmp_buf);
| ^~~~~~~
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081800
Title:
FTBFS: implicit declaration of function
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/2081800/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs