dxx-rebirth/common/arch
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
..
carbon Fix prototype of Mac msgbox_warning 2014-11-30 17:03:54 +00:00
cocoa Update SDLMain.m: 2018-04-16 16:19:36 -06:00
ogl change SYNC_GL_AUTO mode to disable GL sync if VSync is turned off 2018-04-23 04:57:48 +00:00
sdl Fix gcc-8 build of common/arch/sdl/key.cpp 2018-07-29 16:13:15 +00:00
win32 Silence gcc-8 -Wcast-function-type in except.cpp 2018-07-15 04:43:55 +00:00