diff options
| author | 2021-04-20 10:19:03 -0700 | |
|---|---|---|
| committer | 2021-04-20 10:19:03 -0700 | |
| commit | 7083c5bfc8b6990ac9cd0758a452fbd75c15f3d2 (patch) | |
| tree | 0c80f17141b77304f932b7eaecd5834d22845700 /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #6217 from Morph1984/consistent-writebuffers (diff) | |
| parent | general: Ignore implicit-fallthrough for SDL.h (diff) | |
| download | yuzu-7083c5bfc8b6990ac9cd0758a452fbd75c15f3d2.tar.gz yuzu-7083c5bfc8b6990ac9cd0758a452fbd75c15f3d2.tar.xz yuzu-7083c5bfc8b6990ac9cd0758a452fbd75c15f3d2.zip | |
Merge pull request #6207 from lat9nq/sdl-2.0.14
cmake: Use SDL 2.0.14 and fix scope issue
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 2f984d1b8..7e1d5f379 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -4,7 +4,17 @@ | |||
| 4 | 4 | ||
| 5 | #include <memory> | 5 | #include <memory> |
| 6 | #include <sstream> | 6 | #include <sstream> |
| 7 | |||
| 8 | // Ignore -Wimplicit-fallthrough due to https://github.com/libsdl-org/SDL/issues/4307 | ||
| 9 | #ifdef __clang__ | ||
| 10 | #pragma clang diagnostic push | ||
| 11 | #pragma clang diagnostic ignored "-Wimplicit-fallthrough" | ||
| 12 | #endif | ||
| 7 | #include <SDL.h> | 13 | #include <SDL.h> |
| 14 | #ifdef __clang__ | ||
| 15 | #pragma clang diagnostic pop | ||
| 16 | #endif | ||
| 17 | |||
| 8 | #include <inih/cpp/INIReader.h> | 18 | #include <inih/cpp/INIReader.h> |
| 9 | #include "common/file_util.h" | 19 | #include "common/file_util.h" |
| 10 | #include "common/logging/log.h" | 20 | #include "common/logging/log.h" |