diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp old mode 100644 new mode 100755 index 55edb2d08d..a93601bdb3 --- a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp @@ -45,6 +45,11 @@ #pragma clang diagnostic ignored "-Wsign-conversion" #endif +#ifdef _MSC_VER + #pragma warning (push) + #pragma warning (disable : 4127) +#endif + #include "AAX_Exports.cpp" #include "AAX_ICollection.h" #include "AAX_IComponentDescriptor.h" @@ -63,6 +68,10 @@ #include "AAX_UtilsNative.h" #include "AAX_Enums.h" +#ifdef _MSC_VER + #pragma warning (pop) +#endif + #ifdef __clang__ #pragma clang diagnostic pop #endif diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp old mode 100644 new mode 100755 index 93076f3fca..05795e9590 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -69,6 +69,11 @@ #pragma clang diagnostic ignored "-Wnon-virtual-dtor" #endif +#ifdef _MSC_VER + #pragma warning (push) + #pragma warning (disable : 4458) +#endif + /* These files come with the Steinberg VST SDK - to get them, you'll need to visit the Steinberg website and agree to whatever is currently required to get them. The best version to get is the VST3 SDK, which also contains @@ -96,6 +101,10 @@ namespace juce { extern Steinberg::FUID getJuceVST3ComponentIID(); } #endif +#ifdef _MSC_VER + #pragma warning (pop) +#endif + #ifdef __clang__ #pragma clang diagnostic pop #endif