uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit f436ebff12606481b52883e88282c35a1e30d07c
parent 37cd90bec163f28065e76ba7670c61963988fe2f
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Sat, 25 Dec 2021 21:27:23 +0100

emu: shut up -Wtypedef-redefinition with SDL headers when using clang

Diffstat:
Msrc/uxnemu.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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 <SDL.h> #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