Browse code

Silenced warnings in debug build

Andrew Alderwick authored on 27/06/2021 17:53:54
Showing 1 changed files
... ...
@@ -1,10 +1,14 @@
1
-#include <SDL.h>
2 1
 #include <stdio.h>
3 2
 #include <unistd.h>
4 3
 #include <time.h>
5 4
 #include "uxn.h"
5
+
6
+#pragma GCC diagnostic push
7
+#pragma GCC diagnostic ignored "-Wpedantic"
8
+#include <SDL.h>
6 9
 #include "devices/ppu.h"
7 10
 #include "devices/apu.h"
11
+#pragma GCC diagnostic pop
8 12
 
9 13
 /*
10 14
 Copyright (c) 2021 Devine Lu Linvega