commit ba50624994487b353d75308d9fc3f6d0ed6b63b8
parent 256694365912c228556ed7e39efe7185318d7abe
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sun, 27 Jun 2021 18:53:54 +0100
Silenced warnings in debug build
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -1,10 +1,14 @@
-#include <SDL.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include "uxn.h"
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpedantic"
+#include <SDL.h>
#include "devices/ppu.h"
#include "devices/apu.h"
+#pragma GCC diagnostic pop
/*
Copyright (c) 2021 Devine Lu Linvega