Browse Source

Disable override warning omission on clang

tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
f9850076a3
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      include/audio.hpp
  2. +2
    -0
      include/midi.hpp

+ 2
- 0
include/audio.hpp View File

@@ -3,7 +3,9 @@
#include <jansson.h>

#pragma GCC diagnostic push
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
#include <RtAudio.h>
#pragma GCC diagnostic pop



+ 2
- 0
include/midi.hpp View File

@@ -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



Loading…
Cancel
Save