diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 642c10dd15..4ba4156d42 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -1348,7 +1348,7 @@ JUCE_API String& JUCE_CALLTYPE operator<< (String& string1, double number); // Automatically creating a String from a bool opens up lots of nasty type conversion edge cases. // If you want a String representation of a bool you can cast the bool to an int first. -JUCE_API String& JUCE_CALLTYPE operator<< (String&, bool) = delete; +String& JUCE_CALLTYPE operator<< (String&, bool) = delete; //============================================================================== /** Case-sensitive comparison of two strings. */ diff --git a/modules/juce_gui_basics/widgets/juce_Slider.cpp b/modules/juce_gui_basics/widgets/juce_Slider.cpp index f667139da9..bd6b0a268f 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.cpp +++ b/modules/juce_gui_basics/widgets/juce_Slider.cpp @@ -27,7 +27,8 @@ namespace juce { -class Slider::Pimpl : private AsyncUpdater, +class Slider::Pimpl : public AsyncUpdater, // this needs to be public otherwise it will cause an + // error when JUCE_DLL_BUILD=1 private Button::Listener, private Label::Listener, private Value::Listener diff --git a/modules/juce_gui_basics/windows/juce_DialogWindow.h b/modules/juce_gui_basics/windows/juce_DialogWindow.h index f0df0a9654..090af5697a 100644 --- a/modules/juce_gui_basics/windows/juce_DialogWindow.h +++ b/modules/juce_gui_basics/windows/juce_DialogWindow.h @@ -144,6 +144,8 @@ public: */ int runModal(); #endif + + JUCE_DECLARE_NON_COPYABLE (LaunchOptions) }; //==============================================================================