Browse Source

Fixed some errors and warnings when building with JUCE_DLL_BUILD=1

tags/2021-05-28
ed 7 years ago
parent
commit
0b6f02a29e
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      modules/juce_core/text/juce_String.h
  2. +2
    -1
      modules/juce_gui_basics/widgets/juce_Slider.cpp
  3. +2
    -0
      modules/juce_gui_basics/windows/juce_DialogWindow.h

+ 1
- 1
modules/juce_core/text/juce_String.h View File

@@ -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. */


+ 2
- 1
modules/juce_gui_basics/widgets/juce_Slider.cpp View File

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


+ 2
- 0
modules/juce_gui_basics/windows/juce_DialogWindow.h View File

@@ -144,6 +144,8 @@ public:
*/
int runModal();
#endif
JUCE_DECLARE_NON_COPYABLE (LaunchOptions)
};
//==============================================================================


Loading…
Cancel
Save