dxx-rebirth/common/arch/sdl
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
..
digi_mixer_music.cpp Delegate managing SDL_RWops to SDL_mixer when possible 2018-07-05 04:03:34 +00:00
event.cpp Enable building with SDL2 2018-07-28 23:22:58 +00:00
joy.cpp Set d_event type at construction 2018-05-12 18:24:19 +00:00
key.cpp Fix gcc-8 build of common/arch/sdl/key.cpp 2018-07-29 16:13:15 +00:00
mouse.cpp Set d_event type at construction 2018-05-12 18:24:19 +00:00
rbaudio.cpp Replace useless printf with puts 2017-12-05 05:29:55 +00:00
timer.cpp
window.cpp Set d_event type at construction 2018-05-12 18:24:19 +00:00