Bug#980606: supertuxkart: FTBFS: gamepad_config.cpp:35:45: error: static assertion failed: non continous name

Simon McVittie smcv at debian.org
Wed Jan 20 22:59:31 GMT 2021


On Wed, 20 Jan 2021 at 21:30:37 +0100, Lucas Nussbaum wrote:
> >    35 | static_assert(SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT, "non continous name");

I think this is caused by SDL 2.0.14 adding support for more controller
buttons, and supertuxkart assuming that this would never happen. Upstream
commit
https://github.com/supertuxkart/stk-code/commit/61833c9c26da5520f2eaa02f2458971ba07f2aad
seems relevant.

    smcv



More information about the Pkg-games-devel mailing list