Tags: Nostritius/xoreos
Tags
COMMON: Add macros to ignore fallthrough warnings in SDL2 includes This is a consequence of two clang quirks: - clang doesn't recognize the SDL2 includes as system headers, because sdl2-config puts the SDL2 path in to -I, not -isystem - clang doesn't understand "Fallthrough" comments, and instead wants an attribute As a workaround, we wrap the SDL2 includes into macros to disable the warnings and re-enable them again afterwards.