From f9850076a37b4b44cdcaea21d8854a0b7b68bdb0 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 26 Mar 2018 21:38:05 -0400 Subject: [PATCH] Disable override warning omission on clang --- include/audio.hpp | 2 ++ include/midi.hpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/audio.hpp b/include/audio.hpp index 972d4ec6..425fe90d 100644 --- a/include/audio.hpp +++ b/include/audio.hpp @@ -3,7 +3,9 @@ #include #pragma GCC diagnostic push +#ifndef __clang__ #pragma GCC diagnostic ignored "-Wsuggest-override" +#endif #include #pragma GCC diagnostic pop diff --git a/include/midi.hpp b/include/midi.hpp index 3e9309e3..aacc31e0 100644 --- a/include/midi.hpp +++ b/include/midi.hpp @@ -7,7 +7,9 @@ #pragma GCC diagnostic push +#ifndef __clang__ #pragma GCC diagnostic ignored "-Wsuggest-override" +#endif #include "rtmidi/RtMidi.h" #pragma GCC diagnostic pop