@@ -117,6 +117,9 @@ namespace FlacNamespace | |||||
#pragma clang diagnostic ignored "-Wconversion" | #pragma clang diagnostic ignored "-Wconversion" | ||||
#pragma clang diagnostic ignored "-Wshadow" | #pragma clang diagnostic ignored "-Wshadow" | ||||
#pragma clang diagnostic ignored "-Wdeprecated-register" | #pragma clang diagnostic ignored "-Wdeprecated-register" | ||||
#elif JUCE_GCC && (__GNUC__ >= 6) | |||||
#pragma GCC diagnostic push | |||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" | |||||
#endif | #endif | ||||
#if JUCE_INTEL | #if JUCE_INTEL | ||||
@@ -157,6 +160,8 @@ namespace FlacNamespace | |||||
#if JUCE_CLANG | #if JUCE_CLANG | ||||
#pragma clang diagnostic pop | #pragma clang diagnostic pop | ||||
#elif JUCE_GCC && (__GNUC__ >= 6) | |||||
#pragma GCC diagnostic pop | |||||
#endif | #endif | ||||
} | } | ||||
@@ -47,6 +47,9 @@ namespace OggVorbisNamespace | |||||
#elif JUCE_GCC | #elif JUCE_GCC | ||||
#pragma GCC diagnostic push | #pragma GCC diagnostic push | ||||
#pragma GCC diagnostic ignored "-Wshadow" | #pragma GCC diagnostic ignored "-Wshadow" | ||||
#if (__GNUC__ >= 6) | |||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" | |||||
#endif | |||||
#endif | #endif | ||||
#include "oggvorbis/vorbisenc.h" | #include "oggvorbis/vorbisenc.h" | ||||
@@ -1205,6 +1205,8 @@ public: | |||||
close (pipeHandles[1]); // close the write handle | close (pipeHandles[1]); // close the write handle | ||||
} | } | ||||
} | } | ||||
ignoreUnused (streamFlags); | |||||
} | } | ||||
~ActiveProcess() | ~ActiveProcess() | ||||
@@ -39,6 +39,9 @@ namespace zlibNamespace | |||||
#if __has_warning("-Wcomma") | #if __has_warning("-Wcomma") | ||||
#pragma clang diagnostic ignored "-Wcomma" | #pragma clang diagnostic ignored "-Wcomma" | ||||
#endif | #endif | ||||
#elif JUCE_GCC && (__GNUC__ >= 6) | |||||
#pragma GCC diagnostic push | |||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" | |||||
#endif | #endif | ||||
#undef OS_CODE | #undef OS_CODE | ||||
@@ -74,6 +77,8 @@ namespace zlibNamespace | |||||
#if JUCE_CLANG | #if JUCE_CLANG | ||||
#pragma clang diagnostic pop | #pragma clang diagnostic pop | ||||
#elif JUCE_GCC && (__GNUC__ >= 6) | |||||
#pragma GCC diagnostic pop | |||||
#endif | #endif | ||||
#else | #else | ||||
#include JUCE_ZLIB_INCLUDE_PATH | #include JUCE_ZLIB_INCLUDE_PATH | ||||