diff options
author | Chris Robinson <[email protected]> | 2022-05-09 07:47:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-05-09 07:47:43 -0700 |
commit | 5c55ec2f9bd972510454a04ccb40238f4cd0219c (patch) | |
tree | d65eb2a0bc48cc30d5466eb8ce6624a5791126d5 /alc/backends/sdl2.cpp | |
parent | 2c9da1b671d5515de1116b5a1d389dc83c2bc33d (diff) |
More agressively hide PipeWire and SDL header warnings
Diffstat (limited to 'alc/backends/sdl2.cpp')
-rw-r--r-- | alc/backends/sdl2.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp index c0726033..a4a5a9ac 100644 --- a/alc/backends/sdl2.cpp +++ b/alc/backends/sdl2.cpp @@ -32,7 +32,10 @@ #include "core/device.h" #include "core/logging.h" -#include <SDL2/SDL.h> +_Pragma("GCC diagnostic push") +_Pragma("GCC diagnostic ignored \"-Wold-style-cast\"") +#include "SDL.h" +_Pragma("GCC diagnostic pop") namespace { |