Bug#897714: bzrtp: ftbfs with GCC-8

Juhani Numminen juhaninumminen0 at gmail.com
Sun Jul 22 11:09:56 BST 2018


On Fri, 04 May 2018 12:20:56 +0000 Matthias Klose <doko at debian.org> wrote:
> Package: src:bzrtp
> Version: 1.0.6-2
> Severity: normal
> Tags: sid buster
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-8

> /<<PKGBUILDDIR>>/src/stateMachine.c: In function 'bzrtp_deriveKeysFromS0':
> /<<PKGBUILDDIR>>/src/stateMachine.c:2057:234: error: cast between incompatible function types

Here are the types from one warning, which look quite incompatible to me:

void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)
void (*)(unsigned char *,       unsigned char,      unsigned char *,       unsigned int,       unsigned char,  unsigned char *)

For now, there's an upstream commit that suppresses the errors and adds some FIXME comments. 
https://gitlab.linphone.org/BC/public/bzrtp/commit/e86b99fdc51c95f4d4997d7fdcfdfe0d1589ca92


Regards,
Juhani



More information about the Pkg-voip-maintainers mailing list