diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-07 21:39:32 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-07 21:39:32 +0200 |
| commit | 6be195754844b584520b432723a34bedf0dfe4ee (patch) | |
| tree | 86aee7a8e187a5e436571d538d6bce4b3a8d7b08 | |
| parent | 4e2f5ec4bf2aec43f184674cfe9831d20e13e34a (diff) | |
| download | ttdaw-6be195754844b584520b432723a34bedf0dfe4ee.tar.gz | |
Added GCC diagnostic ignore rules
| -rw-r--r-- | minisdl_audio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/minisdl_audio.c b/minisdl_audio.c index e2e2d3f..e566193 100644 --- a/minisdl_audio.c +++ b/minisdl_audio.c @@ -1,3 +1,11 @@ +// Added to ignore compiler warning when it comes to 3rd party.
+#pragma GCC diagnostic ignored "-Wpedantic"
+#pragma GCC diagnostic ignored "-Wundef"
+#pragma GCC diagnostic ignored "-Wunused"
+#pragma GCC diagnostic ignored "-Wunused-variable"
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wsign-compare"
+
/*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
|
