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