From f436ebff12606481b52883e88282c35a1e30d07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sat, 25 Dec 2021 21:27:23 +0100 Subject: [PATCH] emu: shut up -Wtypedef-redefinition with SDL headers when using clang --- src/uxnemu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uxnemu.c b/src/uxnemu.c index b33db7f..d5b1e31 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -4,12 +4,15 @@ #include "uxn.h" #pragma GCC diagnostic push +#pragma clang diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" +#pragma clang diagnostic ignored "-Wtypedef-redefinition" #include #include "devices/ppu.h" #include "devices/apu.h" #include "devices/file.h" #pragma GCC diagnostic pop +#pragma clang diagnostic pop /* Copyright (c) 2021 Devine Lu Linvega