Skip to content

Commit

Permalink
Suppress overloaded virtual warning from FLAC++
Browse files Browse the repository at this point in the history
  • Loading branch information
khenriks committed May 17, 2015
1 parent 4122337 commit 05ca12b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/flac_decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
#include <map>
#include <string>

// The pragmas suppress the named warning from FLAC++, on both GCC and clang.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include <FLAC++/decoder.h>
#include <FLAC++/metadata.h>
#pragma GCC diagnostic pop

class FlacDecoder : public Decoder, private FLAC::Decoder::File {
public:
Expand Down

0 comments on commit 05ca12b

Please sign in to comment.