dxx-rebirth/common
Kp c65020bf04 Fix gcc-8 build of common/arch/sdl/key.cpp
gcc-7 allows `constexpr auto X = std::initializer_list<unsigned>{A1, A2,
...};`.  gcc-8 rejects it:

```
common/arch/sdl/key.cpp:583:105: error: 'const std::initializer_list<const SDL_Scancode>{((const SDL_Scancode*)(&<anonymous>)), 3}' is not a constant expression
  constexpr auto sticky_keys = {SDL_SCANCODE_CAPSLOCK, SDL_SCANCODE_SCROLLLOCK, SDL_SCANCODE_NUMLOCKCLEAR};
```

Switch to a macro and a fully anonymous list, which is accepted by both
versions.

Fixes: f491059ed7 ("Enable building with SDL2")
2018-07-29 16:13:15 +00:00
..
2d Make grs_main_bitmap::grs_main_bitmap() clear the whole structure 2018-07-14 17:23:15 +00:00
3d Simplify calc_rod_corners loops 2017-08-26 19:47:51 +00:00
arch Fix gcc-8 build of common/arch/sdl/key.cpp 2018-07-29 16:13:15 +00:00
editor Pass font to gr_string,gr_printf 2018-05-19 23:21:42 +00:00
include Enable building with SDL2 2018-07-28 23:22:58 +00:00
main Enable building with SDL2 2018-07-28 23:22:58 +00:00
maths Pass vms_matrix &to vms_matrix_from_quaternion 2018-03-31 21:53:01 +00:00
mem Use array<> for memdebug data 2016-10-29 23:16:15 +00:00
misc Simplify case insensitive lookups 2018-06-13 02:02:58 +00:00
texmap Move various SDL-only texture mapping functions to !DXX_USE_OGL 2017-11-01 02:01:21 +00:00
ui Pass font to gr_string,gr_printf 2018-05-19 23:21:42 +00:00
unittest Add unit tests for valptridx parameter validation 2018-06-17 05:04:38 +00:00