Bug#915196: stax FTBFS: conflicting declaration of e.g. fadd

Adrian Bunk bunk at debian.org
Sat Dec 1 17:50:15 GMT 2018


Control: reassign -1 liballegro4-dev 2:4.4.2-12
Control: retitle -1 liballegro4-dev: alcompat.h broken with glibc 2.28
Control: affects -1 src:stax

On Sat, Dec 01, 2018 at 05:50:10PM +0100, Helmut Grohne wrote:
> Source: stax
> Version: 1.37-1
> Severity: serious
> Tags: ftbfs
> 
> stax fails to build from source in unstable. It has loads of warnings,
> so I'll only give an example error here:
> 
> | In file included from /usr/include/allegro/base.h:41,
> |                  from /usr/include/allegro.h:25,
> |                  from stax.cpp:26:
> | /usr/include/allegro/alcompat.h:44:7: error: conflicting declaration of C function 'fixed fadd(fixed, fixed)'
> |        AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y))
> |        ^~~~~~~~
> | In file included from /usr/include/c++/8/cmath:45,
> |                  from stax.cpp:25:
> | /usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h:24:20: note: previous declaration 'float fadd(double, double)'
> |  __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2);
> |                     ^~~~~~~~~~~~~~~

This is a problem of liballegro4-dev with glibc 2.28, reassigning.

> Helmut

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




More information about the Pkg-games-devel mailing list